[PATCH] D101394: [ConstFold] Use const-folded operands in more places

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 12:53:51 PDT 2021


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM, nice find.

Would be nice to have a test showing the difference, but maybe that's hard to do because of how these tend to get called? (E.g. InstCombine is folding operands anyway.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101394/new/

https://reviews.llvm.org/D101394



More information about the llvm-commits mailing list