[clang] [llvm] [CodeGen] Fix VNInfo mapping in LiveRange::assign (PR #148790)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 11 21:48:02 PDT 2025
================
@@ -257,11 +257,13 @@ namespace llvm {
assert(Other.segmentSet == nullptr &&
"Copying of LiveRanges with active SegmentSets is not supported");
// Duplicate valnos.
+ auto FirstNewVNIIdx = valnos.size();
----------------
arsenm wrote:
```suggestion
size_t FirstNewVNIIdx = valnos.size();
```
No auto
https://github.com/llvm/llvm-project/pull/148790
More information about the cfe-commits
mailing list