aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2024-12-11 16:49:48 +1300
committerGitHub <noreply@github.com>2024-12-11 16:49:48 +1300
commitab15976173e45fd02eb61e922a95ad1f5127c9a0 (patch)
treef6b7a5e27039eb20364da72ef349bd9c55512401 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent77b6910b272c254ad7dd96420a7cc41d917b8a9e (diff)
downloadllvm-ab15976173e45fd02eb61e922a95ad1f5127c9a0.zip
llvm-ab15976173e45fd02eb61e922a95ad1f5127c9a0.tar.gz
llvm-ab15976173e45fd02eb61e922a95ad1f5127c9a0.tar.bz2
CallPromotionUtils: Correctly use IndexSize when determining the bit width of pointer offsets. (#119483)
This reapplies #119138 with a defensive fix for the assertion failure when building libcxx. Unfortunately the failure does not reproduce on my machine, so I am not able to extract a test case. The key insight for the fix comes from Jessica Clarke, who observes that `VTablePtr` may, in fact, not be a pointer on return from `FindAvailableLoadedValue`. Co-authored-by: Alexander Richardson <alexander.richardson@cl.cam.ac.uk>
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions