Add comment for load folding

llvm-svn: 169880
This commit is contained in:
Joel Jones 2012-12-11 16:10:25 +00:00
parent ed4325f7ac
commit 24e440d045
1 changed files with 5 additions and 0 deletions

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"