[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/div_const.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun Jul 30 10:46:56 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
div_const.ll added (r1.1)
---
Log message:
Testcase for GCC bug28417: http://llvm.org/PR28417 , ensuring that we don't start getting it wrong
somehow.
---
Diffs of the changes: (+7 -0)
div_const.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/CodeGen/X86/div_const.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/div_const.ll:1.1
*** /dev/null Sun Jul 30 12:46:47 2006
--- llvm/test/Regression/CodeGen/X86/div_const.ll Sun Jul 30 12:46:37 2006
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | grep 365384439
+
+ uint %f9188_mul365384439_shift27(uint %A) {
+ %tmp1 = div uint %A, 1577682821 ; <uint> [#uses=1]
+ ret uint %tmp1
+ }
+
More information about the llvm-commits
mailing list