aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-07-08 00:48:22 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-07-08 00:48:22 +0000
commiteb059b0e0a8337844ad5eb39d74cf2bcbef6ddcf (patch)
tree3256567fef780ecb170187645983d7dc540bcc27 /llvm/lib/CodeGen/CodeGen.cpp
parentc61723f73e48475fdd31db3f0eca07985580e346 (diff)
downloadllvm-eb059b0e0a8337844ad5eb39d74cf2bcbef6ddcf.zip
llvm-eb059b0e0a8337844ad5eb39d74cf2bcbef6ddcf.tar.gz
llvm-eb059b0e0a8337844ad5eb39d74cf2bcbef6ddcf.tar.bz2
ARM: support high registers in __builtin_longjmp on WoA
Windows on ARM uses a pure thumb-2 environment. This means that it can select a high register when doing a __builtin_longjmp. We would use a tLDRi which would truncate the register to a low register. Use a t2LDRi12 to get the full register file access. Tweak the code to just load into PC, as that is an interworking branch on all supported cores anyways. llvm-svn: 274815
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions