[llvm-branch-commits] [clang] [llvm] Move {load, store}(llvm.protected.field.ptr) lowering to InstCombine. (PR #186548)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 3 17:05:58 PDT 2026
================
@@ -592,8 +566,10 @@ static bool expandProtectedFieldPtr(Function &Intr) {
}
}
- // We couldn't rewrite away this use of the intrinsic. Replace it with the
- // pointer operand, and arrange to define a deactivation symbol.
+ // The only remaining uses should be non-load/store uses. Any loads or
+ // stores were removed by InstCombine. This means that we couldn't rewrite
+ // away this use of the intrinsic. Replace it with the pointer operand,
----------------
pcc wrote:
Done
https://github.com/llvm/llvm-project/pull/186548
More information about the llvm-branch-commits
mailing list