Displaying 4 results from an estimated 4 matches for "regex6".
Did you mean:
regex
2006 Mar 16
2
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
...figure this out
eventually, but if somebody else sees the answer instantly, I
certainly won't complain. :-)
Here are the optimizers I'm running:
opt -f -simplifycfg -dce -instcombine -anders-aa -load-vn -licm -o
regex-opt.bc regex.bc
The duplicate loads appear at the top of the %regex6 and %regex2
blocks below. I've tried various alias analysis implementations
either alone or in combination.
Any thoughts? I'm sure that this will prove embarrassingly obvious. :-)
Cheers,
Eric
; ModuleID = 'regex-opt.bc'
implementation ; Functions:
bool %matches(ubyte* %b...
2006 Mar 17
0
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
...plain. :-)
There are no stupid questions. Some are just easier to answer than others
:)
> Here are the optimizers I'm running:
>
> opt -f -simplifycfg -dce -instcombine -anders-aa -load-vn -licm -o
> regex-opt.bc regex.bc
>
> The duplicate loads appear at the top of the %regex6 and %regex2 blocks
> below. I've tried various alias analysis implementations either alone or in
> combination.
LICM doesn't remove common subexpressions, also -load-vn doesn't affect
LICM. Try "-licm -load-vn -gcse" instead of "-load-vn -licm"
-Chris
&g...
2006 Mar 17
3
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
On Mar 16, 2006, at 8:47 PM, Chris Lattner wrote:
> On Thu, 16 Mar 2006, Eric Kidd wrote:
>> The duplicate loads appear at the top of the %regex6 and %regex2
>> blocks below. I've tried various alias analysis implementations
>> either alone or in combination.
>
> LICM doesn't remove common subexpressions, also -load-vn doesn't
> affect LICM. Try "-licm -load-vn -gcse" instead of "-load-v...
2006 Mar 17
0
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
On Mar 17, 2006, at 7:54 AM, Eric Kidd wrote:
> Unfortunately, this generates really weird code on the LLVM 1.6
> PowerPC backend:
>
> LBB_matches_1: ; regex6
> lbz r4, 0(r3)
> LBB_matches_2: ; NodeBlock
> rlwinm r5, r4, 0, 24, 31
> cmplwi cr0, r5, 98
> blt cr0, LBB_matches_4 ; LeafBlock
> LBB_matches_3: ; LeafBlock1
> rlwinm r4, r4, 0, 24, 31
> cmpwi cr0, r4, 98
> beq...