[llvm] [SDAG][ISel][TableGen] Do not skip through bitcasts when there are predicate calls (PR #116075)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 08:39:16 PST 2024
topperc wrote:
The (v4i32 (bitconvert (v4i32)) could never exist in the DAG. Is the issue here that we have both a pattern with the bitconvert and a pattern without it due to `(build_vector)` also being listed? Tablegen removing the bitconvert gives 2 duplicate patterns except one no longer has a predicate and gets higher priority?
So I think this patch prevents the bitconvert pattern from being simplified away. Leaving an unneeded pattern that can never match?
https://github.com/llvm/llvm-project/pull/116075
More information about the llvm-commits
mailing list