summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll b/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
new file mode 100644
index 00000000000..5e4a9d0e5b3
--- /dev/null
+++ b/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
@@ -0,0 +1,7 @@
+; RUN: opt < %s -instcombine
+
+define i65 @foo(i65 %x) nounwind {
+entry:
+ %tmp2 = ashr i65 %x, 65 ; <i65> [#uses=1]
+ ret i65 %tmp2
+}
OpenPOWER on IntegriCloud