diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2022-02-22 08:01:09 -0500 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2022-02-22 08:02:11 -0500 |
| commit | ad7214f23dc3a088d73eb3974b146a0bb09d6ffd (patch) | |
| tree | ac484499ac679e561e156571bebbc6e45d736f3e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | f57627f544665de2b2e246226b0aa3e4a25491e5 (diff) | |
[x86] add load folding restriction to pushAddIntoCmovOfConsts()
With only a load-fold the diffs look neutral. If there's a load and store (rmw)
fold opportunity as shown in the test based on #53862, then we end up with an
extra instruction.
Fixes #53862
Differential Revision: https://reviews.llvm.org/D120281
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
