diff options
author | Jessica Paquette <jpaquette@apple.com> | 2020-05-15 17:37:12 -0700 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2020-05-27 12:48:58 -0700 |
commit | c593bf534222f2206f89b6a61993125b2475b954 (patch) | |
tree | 6706a5c8958eb9c4b79260878563a8d7a25ce4c4 /llvm/lib/Support/CommandLine.cpp | |
parent | d24dd2b279ffe60d579b425fb74f6e4904323a34 (diff) | |
download | llvm-c593bf534222f2206f89b6a61993125b2475b954.zip llvm-c593bf534222f2206f89b6a61993125b2475b954.tar.gz llvm-c593bf534222f2206f89b6a61993125b2475b954.tar.bz2 |
[GlobalISel] Don't combine instructions which are fed by memory instructions.
If we have a memory instruction (e.g. a load), we shouldn't combine it away in
some trivial combine.
It's possible that, say, a call lives between the instructions. This could
modify the value loaded, making the load instructions not safe to fold.
Differential Revision: https://reviews.llvm.org/D80053
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions