Add comment for load folding

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169880 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joel Jones 2012-12-11 16:10:25 +00:00
parent e4b3e9445f
commit 8293b7b8b1

View File

@ -49,6 +49,11 @@
// v1 = bitcast v0
// = v0
//
// - Optimize Loads:
//
// Loads that can be folded into a later instruction. A load is foldable
// if it loads to virtual registers and the virtual register defined has
// a single use.
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "peephole-opt"