Matt Arsenault
06c192d454
OpaquePtr: Bulk update tests to use typed byval
...
Upgrade of the IR text tests should be the only thing blocking making
typed byval mandatory. Partially done through regex and partially
manual.
2020-11-20 14:00:46 -05:00
Renato Golin
d69570e017
Revert "[ARM] Mark LEApcrel instructions as isAsCheapAsAMove"
...
Revert "[ARM] Mark LEApcrel as not having side effects"
This reverts commit r303054 and r303053, as they broke the ARM
self-hosting buildbots:
http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/1550
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-selfhost-neon/builds/1349
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-selfhost/builds/1845
Offline investigation on course.
llvm-svn: 303193
2017-05-16 17:59:07 +00:00
John Brawn
9486becf09
[ARM] Mark LEApcrel instructions as isAsCheapAsAMove
...
Doing this means that if an LEApcrel is used in two places we will rematerialize
instead of generating two MOVs. This is particularly useful for printfs using
the same format string, where we want to generate an address into a register
that's going to get corrupted by the call.
Differential Revision: https://reviews.llvm.org/D32858
llvm-svn: 303054
2017-05-15 11:57:54 +00:00
Guozhi Wei
f66d384443
Align SP adjustment in function getSPAdjust
...
This commit adds a new function TargetFrameLowering::alignSPAdjust
and calls it from TargetInstrInfo::getSPAdjust. It fixes PR24142.
llvm-svn: 245253
2015-08-17 22:36:27 +00:00