[PowerPC] Generate Power9 extswsli extend sign and shift immediate instruction
[llvm-core.git] / test / CodeGen / AArch64 / GlobalISel / legalize-load-vector.mir
blob5559d37bc221b8cf2f6c0fa39a301fb8cdc8794b
1 # RUN: not llc %s -o - -run-pass=legalizer 2>&1 | FileCheck %s
3 # Check we don't infinitely loop on (currently) illegal non-extending loads
4 # CHECK: LLVM ERROR: unable to legalize instruction
6 --- |
7   target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
8   target triple = "aarch64--linux-gnu"
9   
10   ; Function Attrs: noinline nounwind optnone
11   define dso_local float @simulated_vgetq_lane_f16(<8 x half> %vec, i32 %lane) #0 {
12   entry:
13     %__ret.i = alloca <4 x half>, align 8
14     ret float 0.0
15   }
16   
17   attributes #0 = { noinline nounwind optnone "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="cortex-a57" "target-features"="+crc,+crypto,+fp-armv8,+neon" "unsafe-fp-math"="false" "use-soft-float"="false" }
18 ...
19 ---
20 name:            simulated_vgetq_lane_f16
21 alignment:       4
22 exposesReturnsTwice: false
23 legalized:       false
24 regBankSelected: false
25 selected:        false
26 failedISel:      false
27 tracksRegLiveness: true
28 liveins:         
29 frameInfo:       
30   isFrameAddressTaken: false
31   isReturnAddressTaken: false
32   hasStackMap:     false
33   hasPatchPoint:   false
34   stackSize:       0
35   offsetAdjustment: 0
36   maxAlignment:    16
37   adjustsStack:    false
38   hasCalls:        true
39   stackProtector:  ''
40   maxCallFrameSize: 4294967295
41   hasOpaqueSPAdjustment: false
42   hasVAStart:      false
43   hasMustTailInVarArgFunc: false
44   localFrameSize:  0
45   savePoint:       ''
46   restorePoint:    ''
47 fixedStack:      
48 stack:           
49   - { id: 0, name: __ret.i, type: default, offset: 0, size: 8, alignment: 8, 
50       stack-id: 0, callee-saved-register: '', callee-saved-restored: true, 
51       debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
52 constants:       
53 body:             |
54   bb.1.entry:
55     liveins: $x0
56   
57     %0:_(p0) = COPY $x0
58     %1:_(<4 x s16>) = G_LOAD %0:_(p0) :: (load 8 from %ir.__ret.i)
59     $x1 = COPY %1(<4 x s16>)
61 ...