summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/ThreadSafety.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-08-22 20:34:12 +0000
committerMartin Storsjo <martin@martin.st>2018-08-22 20:34:12 +0000
commit5ab1d107bb247db7e802e7041c4314bc6afcaa05 (patch)
tree6af75e2e14035cf758a004c17306a95973d48a7d /clang/lib/Analysis/ThreadSafety.cpp
parentd3b29223a8d36bdddb5d8c24cf3f81d0a989f955 (diff)
downloadbcm5719-llvm-5ab1d107bb247db7e802e7041c4314bc6afcaa05.tar.gz
bcm5719-llvm-5ab1d107bb247db7e802e7041c4314bc6afcaa05.zip
[ARM] Avoid injecting constant islands in movw+movt pairs on Windows
On Windows, movw+movt pairs with relocations are handled with a single relocation that covers them both. Therefore we can't inject anything between these instructions, otherwise the relocation (which in LLVM only is treated as the movw instruction's relocation, while the movt instruction's relocation is dropped) will end up bogus. These instructions are bundled up until right before the constant islands pass, making this effectively the only place that can split them apart. Differential Revision: https://reviews.llvm.org/D51032 llvm-svn: 340451
Diffstat (limited to 'clang/lib/Analysis/ThreadSafety.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud