summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2019-09-11 11:16:48 +0000
committerGuillaume Chatelet <gchatelet@google.com>2019-09-11 11:16:48 +0000
commit48904e9452de81375bd55d830d08e51cc8f2ec7e (patch)
tree870ff19fbb173ec430372a5abbf06d4b27bc3836 /llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
parentd811d9115b0b2d004a568e8ebdb37ba0ea6397d1 (diff)
downloadbcm5719-llvm-48904e9452de81375bd55d830d08e51cc8f2ec7e.tar.gz
bcm5719-llvm-48904e9452de81375bd55d830d08e51cc8f2ec7e.zip
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary: This catches malformed mir files which specify alignment as log2 instead of pow2. See https://reviews.llvm.org/D65945 for reference, This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67433 llvm-svn: 371608
Diffstat (limited to 'llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir b/llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
index 124914233eb..d3ec9a87287 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
@@ -25,7 +25,7 @@
...
---
name: test_f32
-alignment: 2
+alignment: 4
exposesReturnsTwice: false
legalized: true
regBankSelected: true
@@ -66,7 +66,7 @@ body: |
...
---
name: test_f64
-alignment: 2
+alignment: 4
exposesReturnsTwice: false
legalized: true
regBankSelected: true
@@ -97,7 +97,7 @@ body: |
...
---
name: test_i32
-alignment: 2
+alignment: 4
exposesReturnsTwice: false
legalized: true
regBankSelected: true
@@ -132,7 +132,7 @@ body: |
...
---
name: test_i64
-alignment: 2
+alignment: 4
exposesReturnsTwice: false
legalized: true
regBankSelected: true
@@ -161,7 +161,7 @@ body: |
...
---
name: test_p0
-alignment: 2
+alignment: 4
exposesReturnsTwice: false
legalized: true
regBankSelected: true
OpenPOWER on IntegriCloud