[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
Chris Lattner
sabre at nondot.org
Fri Dec 1 16:12:47 PST 2006
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2006-12-01-BadFPVectorXform.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+9 -0)
2006-12-01-BadFPVectorXform.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll:1.1
*** /dev/null Fri Dec 1 18:12:42 2006
--- llvm/test/Regression/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll Fri Dec 1 18:12:32 2006
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub &&
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep add
+
+ <4 x float> %test(<4 x float> %tmp26, <4 x float> %tmp53) {
+ ; (X+Y)-Y != X for fp vectors.
+ %tmp64 = add <4 x float> %tmp26, %tmp53
+ %tmp75 = sub <4 x float> %tmp64, %tmp53
+ ret <4 x float> %tmp75
+ }
More information about the llvm-commits
mailing list