[PATCH] D23879: Properly handle live subranges when moving instructions

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 06:41:09 PDT 2016

kparzysz added inline comments.

Comment at: lib/CodeGen/LiveIntervalAnalysis.cpp:1049-1050
@@ +1048,4 @@
+        //   1200B    ... = COPY vreg131
+        // The live subrange for vreg131:sub2 will contain
+        //   [...,1008r)[1040r,1200r)
+        //
MatzeB wrote:
> Why does the liverange for sub2 end at 1008B in this example? This is about the subregister liverange not about the main liverange is it? Then nothing seems to be reading the value at 1008 so I don't see why the liverange ends there.
The def of sub1 reads sub2.



More information about the llvm-commits mailing list