diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-16 20:49:08 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-16 20:53:26 +0200 |
commit | 0bb06f297fe52a5125952cb6f1e264b4e7c48097 (patch) | |
tree | ab3c61e545c6b47eecc865d5cec6cfef58738edf /llvm/utils/UpdateTestChecks/asm.py | |
parent | 94d912021ff35d33cde96dacd6f1db925fe9f2b8 (diff) | |
download | llvm-0bb06f297fe52a5125952cb6f1e264b4e7c48097.zip llvm-0bb06f297fe52a5125952cb6f1e264b4e7c48097.tar.gz llvm-0bb06f297fe52a5125952cb6f1e264b4e7c48097.tar.bz2 |
[InstSimplify] Clarify SimplifyWithOpReplaced() return value
If SimplifyWithOpReplaced() cannot simplify the value, null should
be returned. Make sure this really does happen in all cases,
including those where SimplifyBinOp() returns the original value.
This does not matter for existing users, but does mattter for
D87480, which would go into an infinite loop otherwise.
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
0 files changed, 0 insertions, 0 deletions