diff options
Diffstat (limited to 'test/CodeGen/XCore/2008-11-17-Shl64.ll')
-rw-r--r-- | test/CodeGen/XCore/2008-11-17-Shl64.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/2008-11-17-Shl64.ll b/test/CodeGen/XCore/2008-11-17-Shl64.ll new file mode 100644 index 000000000000..97ea41b8d0c0 --- /dev/null +++ b/test/CodeGen/XCore/2008-11-17-Shl64.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=xcore > %t1.s +; PR3080 +define i64 @test(i64 %a) { + %result = shl i64 %a, 1 + ret i64 %result +} |