aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--test/CodeGen/X86/trunc-to-bool.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll
index f4fa9c6..e9c18c5 100644
--- a/test/CodeGen/X86/trunc-to-bool.ll
+++ b/test/CodeGen/X86/trunc-to-bool.ll
@@ -5,7 +5,7 @@
; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | \
; RUN: wc -l | grep 6
-define bool @zext %test1(i32 %X) {
+define bool %test1(i32 %X) zext {
%Y = trunc i32 %X to bool
ret bool %Y
}