diff options
author | Florian Hahn <flo@fhahn.com> | 2021-06-09 11:06:21 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-06-09 17:13:21 +0100 |
commit | b76f1f120285fe60b347220e705f0e6008d8cf65 (patch) | |
tree | e0fc84d8cb64b76ce5db451f777e76a2ef9c2a54 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | acc3ca3b7a08dc8d2690953af41a82652bb4f73b (diff) | |
download | llvm-b76f1f120285fe60b347220e705f0e6008d8cf65.zip llvm-b76f1f120285fe60b347220e705f0e6008d8cf65.tar.gz llvm-b76f1f120285fe60b347220e705f0e6008d8cf65.tar.bz2 |
[SCEV] Keep common NUW flags when inlining Add operands.
Currently, NoWrapFlags are dropped if we inline operands of SCEVAddExpr
operands. As a consequence, we always drop flags when building
expressions like `getAddExpr(A, getAddExpr(B, C, NUW), NUW)`.
We should be able to retain NUW flags common among all inlined
SCEVAddExpr and the original flags.
Reviewed By: nikic, mkazantsev
Differential Revision: https://reviews.llvm.org/D103877
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions