llvm-project
462cb3cd - [InstCombine] Infer nusw + nneg -> nuw for getelementptr (#111144)

Commit
1 year ago
[InstCombine] Infer nusw + nneg -> nuw for getelementptr (#111144) If the gep is nusw (usually via inbounds) and the offset is non-negative, we can infer nuw. Proof: https://alive2.llvm.org/ce/z/ihztLy
Author
Parents
Loading