diff options
| author | Mircea Trofin <mtrofin@google.com> | 2025-10-14 08:06:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-14 08:06:21 -0700 |
| commit | 5fa41f0064b39706480d928640e0e352b87c6049 (patch) | |
| tree | 0b0b1d0c3ae262c0bf7d3e055dccef0a35cecd8e /llvm/lib | |
| parent | f973d77f9cf26d736b24f7c83895dc08aa92edd4 (diff) | |
| download | llvm-5fa41f0064b39706480d928640e0e352b87c6049.zip llvm-5fa41f0064b39706480d928640e0e352b87c6049.tar.gz llvm-5fa41f0064b39706480d928640e0e352b87c6049.tar.bz2 | |
[sroa][profcheck] Propagate `select` profile (#163317)
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SROA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SROA.cpp b/llvm/lib/Transforms/Scalar/SROA.cpp index b9d332b..1068df5 100644 --- a/llvm/lib/Transforms/Scalar/SROA.cpp +++ b/llvm/lib/Transforms/Scalar/SROA.cpp @@ -1777,7 +1777,7 @@ static void speculateSelectInstLoads(SelectInst &SI, LoadInst &LI, } Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL, - LI.getName() + ".sroa.speculated"); + LI.getName() + ".sroa.speculated", &SI); LLVM_DEBUG(dbgs() << " speculated to: " << *V << "\n"); LI.replaceAllUsesWith(V); |
