Similar to 806761a762
-mtriple= specifies the full target triple while -march= merely sets the
architecture part of the default target triple, leaving a target triple which
may not make sense.
Therefore, -march= is error-prone and not recommended for tests without a target
triple. The issue has been benign as we recognize $unknown-apple-darwin as ELF instead
of rejecting it outrightly.
18 lines
484 B
YAML
18 lines
484 B
YAML
# RUN: llc -mtriple=hexagon -run-pass prologepilog %s -o - | FileCheck %s
|
|
|
|
# Check that the spill of $q0 no longer uses unaligned store instruction.
|
|
# CHECK: V6_vS32b_ai $r16, -256, killed $v0
|
|
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
stack:
|
|
- { id: 0, type: variable-sized, offset: 0, alignment: 1 }
|
|
- { id: 1, type: spill-slot, size: 128, alignment: 128 }
|
|
body: |
|
|
bb.0:
|
|
liveins: $q0
|
|
$r16 = PS_aligna 128, implicit $r30
|
|
PS_vstorerq_ai %stack.1, 0, $q0
|
|
...
|