forked from OSchip/llvm-project
32 lines
906 B
YAML
32 lines
906 B
YAML
# RUN: llc -mtriple=x86_64-linux-gnu -mattr=+avx2 --global-isel -run-pass=regbankselect %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=FAST
|
|
# RUN: llc -mtriple=x86_64-linux-gnu -mattr=+avx2 --global-isel -regbankselect-greedy -run-pass=regbankselect %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=GREEDY
|
|
|
|
--- |
|
|
define void @test_mul_vec256() {
|
|
ret void
|
|
}
|
|
...
|
|
---
|
|
name: test_mul_vec256
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: false
|
|
selected: false
|
|
tracksRegLiveness: true
|
|
# CHECK-LABEL: name: test_mul_vec256
|
|
# CHECK: registers:
|
|
# CHECK: - { id: 0, class: vecr }
|
|
# CHECK: - { id: 1, class: vecr }
|
|
registers:
|
|
- { id: 0, class: _ }
|
|
- { id: 1, class: _ }
|
|
- { id: 2, class: _ }
|
|
body: |
|
|
bb.1 (%ir-block.0):
|
|
|
|
%0(<8 x s32>) = IMPLICIT_DEF
|
|
%1(<8 x s32>) = G_MUL %0, %0
|
|
RET 0
|
|
|
|
...
|