OSDN Git Service

[AArch64] Make am_ldrlit an iPTR - not OtherVT - operand. NFC-ish.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 15 Feb 2017 20:38:31 +0000 (20:38 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 15 Feb 2017 20:38:31 +0000 (20:38 +0000)
commitb7583bb8b23101afb45a67fe9b6100e8dae0f4ec
tree4d31f26b2d035b15ba7751ef5497421fab8dc55d
parentffb0b39cd02693661f500df231dfa707a6598137
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295229 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrFormats.td