diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-21 01:41:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-21 01:41:07 +0000 |
commit | d5fe57d2f980c6bd1a61450f99c254a76d0f1683 (patch) | |
tree | c78a618e40a923a0efe73a8525be7e91a5066fd1 /test/CodeGen/X86/fast-isel.ll | |
parent | 2076aa800e78a2e196eac47cc8413a074a761d8d (diff) | |
download | external_llvm-d5fe57d2f980c6bd1a61450f99c254a76d0f1683.zip external_llvm-d5fe57d2f980c6bd1a61450f99c254a76d0f1683.tar.gz external_llvm-d5fe57d2f980c6bd1a61450f99c254a76d0f1683.tar.bz2 |
Basic fast-isel support for instructions with constant int operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel.ll')
-rw-r--r-- | test/CodeGen/X86/fast-isel.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll index 6eeffc5..ba7e861 100644 --- a/test/CodeGen/X86/fast-isel.ll +++ b/test/CodeGen/X86/fast-isel.ll @@ -16,10 +16,11 @@ fast: %t3 = and i32 %t2, %s %t4 = or i32 %t3, %s %t5 = xor i32 %t4, %s + %t6 = add i32 %t5, 2 br label %exit exit: - ret i32 %t5 + ret i32 %t6 } define double @bar(double* %p, double* %q) { |