[PATCH] D156401: [PatternMatch] Do not match constant expressions for binops

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 10:58:54 PDT 2023


goldstein.w.n added a comment.

Is there a way to check/get a ConstantExpr as a ImmConstant? If so maybe this should come with an update to `m_ImmConstant` to also try to extract from a ConstantExpr match.


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

https://reviews.llvm.org/D156401



More information about the llvm-commits mailing list