[PATCH] D159198: [DAG] Fold (shl (ext (add x, c1)), c2) -> (add (shl (ext x), c2), c1 << c2)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 01:44:50 PDT 2023
RKSimon planned changes to this revision.
RKSimon added a comment.
OK, I'll just go with sext/nsw for now - I'll add some explicit negative tests, although there are plenty of existing test cases that implicity do this for us already.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159198/new/
https://reviews.llvm.org/D159198
More information about the llvm-commits
mailing list