search for: pr2498

Displaying 3 results from an estimated 3 matches for "pr2498".

2008 Jul 10
0
[LLVMdev] Argpromotion improvements (and fix for PR 2498)
Hi All, in the last few days I've been working on a fix for PR2498. Currently ArgumentPromotion is a bit overzealous when promoting arguments: If any load of a pointer argument happens in the entry block (even a partial load for a struct pointer), it assumes that all loads in the function can be promoted to the caller (and thus executed uncondtionally). This is cl...
2008 Jul 15
0
[LLVMdev] (GEP) Index validity
On Jul 15, 2008, at 3:58 AM, Matthijs Kooijman wrote: > Hi Chris & Evan, > > On Sun, Jul 13, 2008 at 03:34:03PM -0700, Chris Lattner wrote: >> Why? What value does that provide? Struct indices are not allowed >> to >> be variable, so picking any width constant (that isn't too small) is >> fine. What problem are you trying to solve here? > The
2008 Jul 15
2
[LLVMdev] (GEP) Index validity
Hi Chris & Evan, On Sun, Jul 13, 2008 at 03:34:03PM -0700, Chris Lattner wrote: > Why? What value does that provide? Struct indices are not allowed to > be variable, so picking any width constant (that isn't too small) is > fine. What problem are you trying to solve here? The current code only allows 32 bit constants. My patch allows any width constant to be used, but it