aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/fast-isel.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll
index 36c5a2d..1b0d5b2 100644
--- a/test/CodeGen/X86/fast-isel.ll
+++ b/test/CodeGen/X86/fast-isel.ll
@@ -9,9 +9,15 @@ entry:
br label %fast
fast:
- %t = add i32 %r, %s
+ %t0 = add i32 %r, %s
+ %t1 = mul i32 %t0, %s
+ %t2 = sub i32 %t1, %s
+ %t3 = and i32 %t2, %s
+ %t4 = or i32 %t3, %s
+ %t5 = xor i32 %t4, %s
br label %exit
exit:
- ret i32 %t
+ ret i32 %t5
}
+