summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-05-24 19:38:23 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-05-24 19:38:23 +0000
commit9e177882aa41490ce94d57b593f50d6c925d6b4b (patch)
tree2af5e365b96fe1924f2a869c247a9a14f8a7aa60 /clang/lib/Frontend/CompilerInstance.cpp
parent7d60b9052a4a5d7d6e2baef09ac790a88c5e2214 (diff)
downloadbcm5719-llvm-9e177882aa41490ce94d57b593f50d6c925d6b4b.tar.gz
bcm5719-llvm-9e177882aa41490ce94d57b593f50d6c925d6b4b.zip
[AArch64] Improve orr+movk sequences for MOVi64imm.
The existing code has three different ways to try to lower a 64-bit immediate to the sequence ORR+MOVK. The result is messy: it misses some possible sequences, and the order of the checks means we sometimes emit two MOVKs when we only need one. Instead, just use a simple loop to try all possible two-instruction ORR+MOVK sequences. Differential Revision: https://reviews.llvm.org/D47176 llvm-svn: 333218
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud