]> granicus.if.org Git - llvm/commit
[GlobalISel][AArch64] Fold G_GEP into LDR/STR ui addressing mode.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 27 Mar 2017 17:31:52 +0000 (17:31 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 27 Mar 2017 17:31:52 +0000 (17:31 +0000)
commitdb6b71ba7954fad8e37a9c53ec84de95c3ae177e
treed6c2a86f3f0e9b258d86ce05e0450cf8fbe187d6
parent3d5ea4cd1311a3c3c072e211da0249337dfce66d
[GlobalISel][AArch64] Fold G_GEP into LDR/STR ui addressing mode.

We're not to the point of supporting the load/store patterns yet
(because they extensively use PatFrags).

But in the meantime, we can implement some of the simplest addressing
modes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298863 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/select-load.mir
test/CodeGen/AArch64/GlobalISel/select-store.mir