[llvm-commits] [llvm][PATCH][Review Requested]

Gurd, Preston preston.gurd at intel.com
Mon Apr 30 15:09:17 PDT 2012


The problem which we are trying to solve is that when we enable register scavenging for X86, the register scavenger sees X87 stack registers (which are unallocatable)  and then triggers an assertion failure saying "Using an undefined physical register". We want to ignore unallocatable registers in the registers as per the patch that you committed last July (r136541). That patch was reverted because it apparently negatively affected ARM. We want to ignore unallocatable registers for X86 so that we can use the register scavenger which in turn we need for post RA scheduling for Intel Atom.

From: Jakob Stoklund Olesen [mailto:stoklund at 2pi.dk]
Sent: Monday, April 30, 2012 5:56 PM
To: Gurd, Preston
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm][PATCH][Review Requested]


On Apr 30, 2012, at 2:40 PM, "Gurd, Preston" <preston.gurd at intel.com<mailto:preston.gurd at intel.com>> wrote:


For X86, don't check liveness of unallocatable registers.

I don't think we should have different rules for different targets. What problem are you trying to solve?

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120430/0c4d5afe/attachment.html>


More information about the llvm-commits mailing list