[llvm] [polly] [IR] Enable dereferenceable-at-point semantics (PR #204795)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 05:35:01 PDT 2026
================
@@ -1295,17 +1295,15 @@ define void @load_derefable_two_preds(i8 %v0, i8 %v1, i8 %v2, ptr dereferenceabl
; CHECK-NEXT: [[C0:%.*]] = icmp eq i8 [[V0:%.*]], 0
; CHECK-NEXT: br i1 [[C0]], label [[PRED0:%.*]], label [[PRED1:%.*]]
; CHECK: pred0:
-; CHECK-NEXT: [[C1:%.*]] = icmp eq i8 [[V1:%.*]], 0
-; CHECK-NEXT: [[V3_OLD:%.*]] = load i8, ptr [[P:%.*]], align 1
----------------
nikic wrote:
I did not implement support for this case in https://github.com/llvm/llvm-project/pull/203516, because this case is not relevant for the default bonus-inst-threshold of 1 (as it requires duplicating into multiple predecessors).
https://github.com/llvm/llvm-project/pull/204795
More information about the llvm-commits
mailing list