GlobalISel: fix GOT accesses on AArch64.
authorTim Northover <tnorthover@apple.com>
Tue, 13 Dec 2016 18:25:38 +0000 (18:25 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 13 Dec 2016 18:25:38 +0000 (18:25 +0000)
commitfe7c59adb8fd3b89e2b8379a5e16cf4fac68930f
tree7889cf84e77cf463a6576b5b6f10386558d81768
parentc8c1032c0c52d7f851ccfa29ec850b24047ebcb9
GlobalISel: fix GOT accesses on AArch64.

We were using the correct pseudo-instruction, but because the operand's flags
weren't set correctly we still ended up emitting incorrect relocations during
MC lowering.

llvm-svn: 289566
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-instructionselect.mir