diff options
author | Craig Topper <craig.topper@intel.com> | 2019-03-06 07:36:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-03-06 07:36:36 +0000 |
commit | 97a1c4c340b8f97eb0065a22fd96ef11896ba333 (patch) | |
tree | 0a357f9f9b99232a15724f1215f66bf25fd95298 /clang/lib/Basic/OpenMPKinds.cpp | |
parent | 6025fa8e30071730b3239b322cdf64b680eb3aa9 (diff) | |
download | bcm5719-llvm-97a1c4c340b8f97eb0065a22fd96ef11896ba333.tar.gz bcm5719-llvm-97a1c4c340b8f97eb0065a22fd96ef11896ba333.zip |
[X86] Suppress load folding for add/sub with 128 immediate.
128 won't fit in a sign extended 8-bit immediate, but we can negate it to -128 and use the other operation. This results in a shorter encoding since the move would have used 16 or 32 bits for the immediate.
llvm-svn: 355484
Diffstat (limited to 'clang/lib/Basic/OpenMPKinds.cpp')
0 files changed, 0 insertions, 0 deletions