diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-18 19:13:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-18 19:13:11 +0000 |
commit | a076787d7b6f7bebb43a8fa6f55fd66c451eaf68 (patch) | |
tree | aae8f0476cb23c18f1e634e7d84e8e629b90bca0 /test/CodeGen/Generic | |
parent | e719a7c40b58a382144212828bfecd4e64210b92 (diff) | |
download | external_llvm-a076787d7b6f7bebb43a8fa6f55fd66c451eaf68.zip external_llvm-a076787d7b6f7bebb43a8fa6f55fd66c451eaf68.tar.gz external_llvm-a076787d7b6f7bebb43a8fa6f55fd66c451eaf68.tar.bz2 |
this testcase sent the dag combiner spinning into an infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r-- | test/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll b/test/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll new file mode 100644 index 0000000..072841d --- /dev/null +++ b/test/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll @@ -0,0 +1,19 @@ +; RUN: llvm-as < %s | llc + +void %intersect_pixel() { +entry: + %tmp125 = call bool %llvm.isunordered.f64( double 0.000000e+00, double 0.000000e+00 ) ; <bool> [#uses=1] + %tmp126 = or bool %tmp125, false ; <bool> [#uses=1] + %tmp126.not = xor bool %tmp126, true ; <bool> [#uses=1] + %brmerge1 = or bool %tmp126.not, false ; <bool> [#uses=1] + br bool %brmerge1, label %bb154, label %cond_false133 + +cond_false133: ; preds = %entry + ret void + +bb154: ; preds = %entry + %tmp164 = seteq uint 0, 0 ; <bool> [#uses=0] + ret void +} + +declare bool %llvm.isunordered.f64(double, double) |