aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2023-05-24 12:00:01 +0100
committerJay Foad <jay.foad@amd.com>2023-05-24 15:19:05 +0100
commit0ea5eb143c7a63105b4479c455642b4c4ef3278c (patch)
treea90324c8f591cbd0a1ca8c911d6977bc5df12d65 /mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
parent2dad1249d2785b08ad21fb00b54721e125434cd8 (diff)
downloadllvm-0ea5eb143c7a63105b4479c455642b4c4ef3278c.zip
llvm-0ea5eb143c7a63105b4479c455642b4c4ef3278c.tar.gz
llvm-0ea5eb143c7a63105b4479c455642b4c4ef3278c.tar.bz2
[RegisterCoalescer] Fix updating LiveIntervals in joinReservedPhysReg
Live intervals for physical registers are calculated lazily on demand. In a case like this: 16B %0:gpr32 = IMPLICIT_DEF 32B $wzr = COPY %0 if the live interval for $wzr did not already exist then the update code in joinReservedPhysReg would create it with a definition at 32B, which would remain even after the COPY was deleted. Differential Revision: https://reviews.llvm.org/D151314
Diffstat (limited to 'mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp')
0 files changed, 0 insertions, 0 deletions