diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-01-03 13:14:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 13:14:13 -0800 |
commit | bdcd7c0ba032873be92bce96e02ebb82a0675616 (patch) | |
tree | 31b422409e4d1de7454ed1e12050eccab378ea56 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | a24c58140fbd73d5b98f8fa88cf9a9dbf0613a41 (diff) | |
download | llvm-bdcd7c0ba032873be92bce96e02ebb82a0675616.zip llvm-bdcd7c0ba032873be92bce96e02ebb82a0675616.tar.gz llvm-bdcd7c0ba032873be92bce96e02ebb82a0675616.tar.bz2 |
[DAGCombiner][RISCV] Preserve disjoint flag in folding (shl (or x, c1), c2) -> (or (shl x, c2), c1 << c2) (#76860)
Since we are shifting both inputs to the original Or by the same amount
and inserting zeros in the LSBs, the result should still be disjoint.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions