mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[AArch64] Make am_ldrlit an iPTR - not OtherVT - operand. NFC-ish.
am_ldrlit diverged from am_brcond in r207105, but kept the OtherVT operand type. It made sense for branch targets, as those are represented as MVT::Other in SDAG. But loads operate on pointers. This shouldn't have an observable effect on any in-tree code, but helps make the patterns consistent for external users. llvm-svn: 295229
This commit is contained in:
parent
b0c2ac7a60
commit
6d1de4abe7
@ -2454,7 +2454,7 @@ class PrefetchUI<bits<2> sz, bit V, bits<2> opc, string asm, list<dag> pat>
|
||||
|
||||
// Load literal address: 19-bit immediate. The low two bits of the target
|
||||
// offset are implied zero and so are not part of the immediate.
|
||||
def am_ldrlit : Operand<OtherVT> {
|
||||
def am_ldrlit : Operand<iPTR> {
|
||||
let EncoderMethod = "getLoadLiteralOpValue";
|
||||
let DecoderMethod = "DecodePCRelLabel19";
|
||||
let PrintMethod = "printAlignedLabel";
|
||||
|
Loading…
Reference in New Issue
Block a user