First cut trivial re-materialization support.
Woot!
unsigned reg = rep(mop.getReg());
mii-getOperand(i).setReg(reg);
+// If the definition instruction is re-materializable,
its spill
+// weight is zero.
LiveInterval RegInt
On Mar 30, 2007, at 2:44 PM, Chris Lattner wrote:
First cut trivial re-materialization support.
Woot!
unsigned reg = rep(mop.getReg());
mii-getOperand(i).setReg(reg);
+// If the definition instruction is re-
materializable, its spill
+
On Mar 30, 2007, at 3:03 PM, Evan Cheng wrote:
unsigned reg = rep(mop.getReg());
mii-getOperand(i).setReg(reg);
+// If the definition instruction is re-
materializable, its spill
+// weight is zero.
LiveInterval RegInt =
On Mar 30, 2007, at 3:09 PM, Chris Lattner wrote:
On Mar 30, 2007, at 3:03 PM, Evan Cheng wrote:
unsigned reg = rep(mop.getReg());
mii-getOperand(i).setReg(reg);
+// If the definition instruction is re-
materializable, its spill
+//
- (mop.isUse() + mop.isDef()) * pow(10.0F, (int)
loopDepth);
+if (!RegInt.remat) {
+ RegInt.weight +=
+(mop.isUse() + mop.isDef()) * pow(10.0F, (int)
loopDepth);
+}
Should it really be zero? It should definitely be lower
Dear Mr. Laskey,
This change broke the LLVM build on OpenBSD. Would it be possible to
use FLT_MAX instead of HUGE_VALF? FLT_MAX from float.h looks more portable.
-- John T.
Jim Laskey wrote:
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.190 - 1.191
John,Both are defined on Darwin, FLT_MAX in float.h and HUGE_VALF in math.h. However, neither header seems to be based on a BSD header. I choose HUGE_VALF because it was also defined in the LINUX and FREEBSD math.h headers (seemed like confirmation to me.) I'll wait for Chris to make the call.
John,Adding declaration to DataTypes.h(.in).Cheers,-- JimOn Nov 8, 2006, at 12:30 PM, Jim Laskey wrote:John,Both are defined on Darwin, FLT_MAX in float.h and HUGE_VALF in math.h. However, neither header seems to be based on a BSD header. I choose HUGE_VALF because it was also defined in the
On 11/8/06, Jim Laskey [EMAIL PROTECTED] wrote:
John,
Both are defined on Darwin, FLT_MAX in float.h and HUGE_VALF in math.h.
However, neither header seems to be based on a BSD header. I choose
HUGE_VALF because it was also defined in the LINUX and FREEBSD math.h
headers (seemed like
On Nov 8, 2006, at 9:24 AM, Bill Wendling wrote:
On 11/8/06, Jim Laskey [EMAIL PROTECTED] wrote:
John,
Both are defined on Darwin, FLT_MAX in float.h and HUGE_VALF in
math.h.
However, neither header seems to be based on a BSD header. I choose
HUGE_VALF because it was also defined in
10 matches
Mail list logo