aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon/constp-rseq.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Hexagon/constp-rseq.ll')
-rw-r--r--test/CodeGen/Hexagon/constp-rseq.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/Hexagon/constp-rseq.ll b/test/CodeGen/Hexagon/constp-rseq.ll
deleted file mode 100644
index c89407e4b8e4..000000000000
--- a/test/CodeGen/Hexagon/constp-rseq.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llc -march=hexagon < %s | FileCheck %s
-; CHECK: cmp
-; Make sure that the result is not a compile-time constant.
-
-define i64 @foo(i32 %x) {
-entry:
- %c = icmp slt i32 %x, 17
- br i1 %c, label %b1, label %b2
-b1:
- br label %b2
-b2:
- %p = phi i32 [ 1, %entry ], [ 0, %b1 ]
- %q = sub i32 %x, %x
- %y = zext i32 %q to i64
- %u = shl i64 %y, 32
- %v = zext i32 %p to i64
- %w = or i64 %u, %v
- ret i64 %w
-}