We can't fold to the non-undef value unless we know it isn't poison. So check each element with isGuaranteedNotToBeUndefOrPoison. This currently rules out all constant expressions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo