diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/GlobalISel/calllowering-nocrashret.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/GlobalISel/calllowering-nocrashret.ll b/llvm/test/CodeGen/X86/GlobalISel/calllowering-nocrashret.ll new file mode 100644 index 00000000000..5e9311559b4 --- /dev/null +++ b/llvm/test/CodeGen/X86/GlobalISel/calllowering-nocrashret.ll @@ -0,0 +1,13 @@ +; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py +; RUN: llc -mtriple=x86_64-linux-gnu -o - -global-isel %s -stop-after=irtranslator | FileCheck %s + +define <4 x i1> @foo() { + ; CHECK-LABEL: name: foo + ; CHECK: bb.1.entry: + ; CHECK: [[DEF:%[0-9]+]]:_(<4 x s1>) = G_IMPLICIT_DEF + ; CHECK: [[ANYEXT:%[0-9]+]]:_(<4 x s32>) = G_ANYEXT [[DEF]](<4 x s1>) + ; CHECK: $xmm0 = COPY [[ANYEXT]](<4 x s32>) + ; CHECK: RET 0, implicit $xmm0 +entry: + ret <4 x i1> undef ; +} |