[PATCH] D72048: [InstCombine] Preserve nuw on sub of geps (PR44419)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 15:00:36 PST 2020
lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
Not really familiar with this code.
This seems correct to me, but maybe i'm missing some subtlety.
================
Comment at: llvm/test/Transforms/InstCombine/sub-gep.ll:88
+
+define i64 @test_inbounds_nuw_multi_index([0 x [2 x i32]]* %base, i64 %idx, i64 %idx2) {
+; CHECK-LABEL: @test_inbounds_nuw_multi_index(
----------------
Precommit this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72048/new/
https://reviews.llvm.org/D72048
More information about the llvm-commits
mailing list