[llvm-branch-commits] [InstCombine] Don't look at ConstantData users (PR #103302)

Alexis Engelke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 13 08:58:48 PDT 2024


https://github.com/aengelke created https://github.com/llvm/llvm-project/pull/103302

When looking at PHI operand for combining, only look at instructions and
arguments. The loop later iteraters over Arg's users, which is not
useful if Arg is a constant -- it's users are not meaningful and might
be in different functions, which causes problems for the dominates()
query.





More information about the llvm-branch-commits mailing list