• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3--- |
4
5  define void @memory_alignment(<8 x float>* %vec) {
6  entry:
7    %v = load <8 x float>, <8 x float>* %vec
8    %v2 = insertelement <8 x float> %v, float 0.0, i32 4
9    store <8 x float> %v2, <8 x float>* %vec
10    ret void
11  }
12
13...
14---
15name:            memory_alignment
16tracksRegLiveness: true
17liveins:
18  - { reg: '%rdi' }
19body: |
20  bb.0.entry:
21    liveins: %rdi
22  ; CHECK: [[@LINE+1]]:71: expected an integer literal after 'align'
23    %xmm0 = MOVAPSrm %rdi, 1, _, 0, _ :: (load 16 from %ir.vec, align -32)
24    %xmm1 = MOVAPSrm %rdi, 1, _, 16, _ :: (load 16 from %ir.vec + 16, align 32)
25    %xmm2 = FsFLD0SS
26    %xmm1 = MOVSSrr killed %xmm1, killed %xmm2
27    MOVAPSmr %rdi, 1, _, 0, _, killed %xmm0 :: (store 16 into %ir.vec, align 32)
28    MOVAPSmr killed %rdi, 1, _, 16, _, killed %xmm1 :: (store 16 into %ir.vec + 16, align 32)
29    RETQ
30...
31