File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- ; RUN: llc -mtriple=x86_64-- -O2 -start-after=stack-protector -stop-before=loops %s -o - | FileCheck %s
1
+ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2
+ ; RUN: llc < %s -mtriple=x86_64-- -O2 | FileCheck %s
2
3
3
4
; This test verifies the fix for PR33368.
4
5
;
14
15
; NOTE: This operation could be collapsed in to a single truncate. Once that is done
15
16
; this test will have to be adjusted.
16
17
17
- ; CHECK: PANDrm
18
- ; CHECK: PACKUSWBrr
19
- ; CHECK: MOVPDI2DIrr
20
-
21
18
define void @test (double %vec.coerce ) local_unnamed_addr {
19
+ ; CHECK-LABEL: test:
20
+ ; CHECK: # %bb.0: # %entry
21
+ ; CHECK-NEXT: pand {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0
22
+ ; CHECK-NEXT: packuswb %xmm0, %xmm0
23
+ ; CHECK-NEXT: movd %xmm0, %eax
24
+ ; CHECK-NEXT: movw %ax, -{{[0-9]+}}(%rsp)
25
+ ; CHECK-NEXT: retq
22
26
entry:
23
27
%c2 = alloca <2 x i8 >, align 2
24
28
%0 = bitcast double %vec.coerce to <8 x i8 >
You can’t perform that action at this time.
0 commit comments