summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/expected-power-of-2-after-align.mir
blob: 0842d96cac2bd4a736b49fc48cbe5600fbd8406e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s

---
name: align_0
body: |
  bb.0:

    %0:_(p0) = IMPLICIT_DEF
    ; CHECK: [[@LINE+1]]:50: expected a power-of-2 literal after 'align'
    %1:_(s64) = G_LOAD %0(p0) :: (load 8, align 0)
...

OpenPOWER on IntegriCloud