This is a rough patch on how I think liveness calculation for subregs that respects undef-read-defs should look like.
This is an unfinished patch, meant to move the discussion in D21189 forward (it is also based on this patch).
Paths
| Differential D23484
Rough proposal for an alternative way to recompute subreg liveness while respecting undef-read-defs AbandonedPublic Authored by MatzeB on Aug 12 2016, 8:45 PM.
Details
Diff Detail
Event TimelineMatzeB added a parent revision: D21189: Create subranges for new intervals resulting from live interval splitting.Aug 12 2016, 8:45 PM Comment Actions I tested this with AMDGPU lit tests and the two tests I meantioned in D21189, I just realized that I did not have hexagon enabled and that target probably needs some further changes. This revision is now accepted and ready to land.Aug 17 2016, 1:16 PM
Revision Contents
Diff 67952 include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveRangeCalc.h
lib/CodeGen/LiveRangeCalc.cpp
lib/CodeGen/RegisterCoalescer.cpp
lib/CodeGen/RenameIndependentSubregs.cpp
lib/CodeGen/SplitKit.cpp
|