[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 9 13:16:02 PDT 2003


Changes in directory llvm/test/Regression/Transforms/InstCombine:

2003-09-09-VolatileLoadElim.ll added (r1.1)

---
Log message:

New testcase: do not DCE volatile loads!


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll:1.1
*** /dev/null	Tue Sep  9 13:15:56 2003
--- llvm/test/Regression/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll	Tue Sep  9 13:15:45 2003
***************
*** 0 ****
--- 1,5 ----
+ ; RUN: as < %s | opt -instcombine | dis | grep load
+ void %test(int* %P) {
+ 	%X = volatile load int* %P  ; Dead but not deletable!
+ 	ret void
+ }





More information about the llvm-commits mailing list