comparison test/CodeGen/X86/fast-isel-ret-ext.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents afa8332a0e37
children
comparison
equal deleted inserted replaced
134:3a76565eade5 147:c2174574ed3a
24 24
25 define signext i16 @test4(i32 %y) nounwind { 25 define signext i16 @test4(i32 %y) nounwind {
26 %conv = trunc i32 %y to i16 26 %conv = trunc i32 %y to i16
27 ret i16 %conv 27 ret i16 %conv
28 ; CHECK-LABEL: test4: 28 ; CHECK-LABEL: test4:
29 ; CHECK: {{(movswl.%.x, %eax|cwtl)}} 29 ; CHECK: {{(movswl.%di, %eax|cwtl)}}
30 } 30 }
31 31
32 define zeroext i1 @test5(i32 %y) nounwind { 32 define zeroext i1 @test5(i32 %y) nounwind {
33 %conv = trunc i32 %y to i1 33 %conv = trunc i32 %y to i1
34 ret i1 %conv 34 ret i1 %conv