[llvm] [Attributor][NFC] Improve test (PR #129165)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 21:02:10 PST 2025


================
@@ -15,6 +15,9 @@ define i8 @select_offsets_simplifiable_1(i1 %cnd1, i1 %cnd2) {
 ; CHECK-NEXT:    store i8 23, ptr [[GEP23]], align 4
 ; CHECK-NEXT:    [[GEP29:%.*]] = getelementptr inbounds [1024 x i8], ptr [[BYTES]], i64 0, i64 29
 ; CHECK-NEXT:    store i8 29, ptr [[GEP29]], align 4
+; CHECK-NEXT:    [[GEP9:%.*]] = getelementptr inbounds [1024 x i8], ptr [[BYTES]], i64 0, i64 9
----------------
shiltian wrote:

It seems like it is not removed yet. Expected?

https://github.com/llvm/llvm-project/pull/129165


More information about the llvm-commits mailing list