aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/asm.py
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-16 20:49:08 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-16 20:53:26 +0200
commit0bb06f297fe52a5125952cb6f1e264b4e7c48097 (patch)
treeab3c61e545c6b47eecc865d5cec6cfef58738edf /llvm/utils/UpdateTestChecks/asm.py
parent94d912021ff35d33cde96dacd6f1db925fe9f2b8 (diff)
downloadllvm-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