aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/TruncAssertZext.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/TruncAssertZext.ll')
-rw-r--r--test/CodeGen/X86/TruncAssertZext.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/CodeGen/X86/TruncAssertZext.ll b/test/CodeGen/X86/TruncAssertZext.ll
deleted file mode 100644
index 8c664127f92a..000000000000
--- a/test/CodeGen/X86/TruncAssertZext.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
-; Checks that a zeroing mov is inserted for the trunc/zext pair even when
-; the source of the zext is an AssertSext node
-; PR20494
-
-define i64 @main(i64 %a) {
-; CHECK-LABEL: main
-; CHECK: movl %e{{..}}, %eax
-; CHECK: ret
- %or = or i64 %a, -2
- %trunc = trunc i64 %or to i32
- br label %l
-l:
- %ext = zext i32 %trunc to i64
- ret i64 %ext
-}