aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-10-04 05:12:10 +0000
committerMartin Storsjo <martin@martin.st>2017-10-04 05:12:10 +0000
commite14145dcb0070ba1dc743419c6d3ade07893875d (patch)
tree0de086f62af705c6b4a71d4c8e032caf8e2f4229 /llvm/lib/Support/Parallel.cpp
parent68ea360ed1cd30baa0d11737f7223d2e429262bd (diff)
downloadllvm-e14145dcb0070ba1dc743419c6d3ade07893875d.zip
llvm-e14145dcb0070ba1dc743419c6d3ade07893875d.tar.gz
llvm-e14145dcb0070ba1dc743419c6d3ade07893875d.tar.bz2
[X86] Fix using the SJLJ jump table on x86_64
The previous version didn't work if the jump table base address didn't fit in 32 bit, since it was encoded as an immediate offset. And in case the jump table is encoded as 32 bit label differences, we need to load and add them to the table base first. This solves the first half of the issues mentioned in PR34720. Also fix some of the errors pointed out by -verify-machineinstrs, by using GR32_NOSPRegClass. Differential Revision: https://reviews.llvm.org/D38333 llvm-svn: 314876
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions