| Issue |
243491
|
| Summary |
[DAG] isGuaranteedNotToBeUndefOrPoison - load(constant_pool) doesn't handle DemandedElts mask
|
| Labels |
llvm:SelectionDAG
|
| Assignees |
|
| Reporter |
RKSimon
|
#241972 only added basic support to check the constant mask contained no undef/poison data - but we should try to use the DemandedElts mask to discard unnecessary elements.
We need to be careful as getTargetConstantFromLoad might return a Constant with different types/size to the LOAD's ValueType - computeKnownBits already does something similar.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs