Displaying 4 results from an estimated 4 matches for "_z11sfoo".
2012 Jun 07
3
[LLVMdev] Instruction Cleanup Questions
...code generation. Two questions:
1. Which pass is responsible for cleaning up self-moves:
0x00000000100057c0 <+208>: mr r3,r3
2. Which pass is responsible for cleaning up unconditional jumps that
should be fall-throughs:
0x0000000010005d88 <+1688>: b 0x10005d8c <._Z11sfoo+1692>
0x0000000010005d8c <+1692>: ld r3,-32056(r2)
Maybe there are no such passes, but these things appear in optimized
code, and I'm trying to figure out why.
Thanks in advance,
Hal
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
2012 Jun 07
0
[LLVMdev] Instruction Cleanup Questions
...>
> 1. Which pass is responsible for cleaning up self-moves:
> 0x00000000100057c0 <+208>: mr r3,r3
>
> 2. Which pass is responsible for cleaning up unconditional jumps that
> should be fall-throughs:
> 0x0000000010005d88 <+1688>: b 0x10005d8c <._Z11sfoo+1692>
> 0x0000000010005d8c <+1692>: ld r3,-32056(r2)
>
This should be handled by the MachineBlockPlacement (among others). Do you
have a reduced est case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/...
2012 Jun 07
4
[LLVMdev] Instruction Cleanup Questions
...> 0x00000000100057c0 <+208>: mr r3,r3
>
and the RA should eliminate trivial copies.
>
> 2. Which pass is responsible for cleaning up unconditional jumps that
> should be fall-throughs:
> 0x0000000010005d88 <+1688>: b 0x10005d8c <._Z11sfoo+1692>
> 0x0000000010005d8c <+1692>: ld r3,-32056(r2)
>
>
> This should be handled by the MachineBlockPlacement (among others). Do
> you have a reduced est case?
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVM...
2012 Jun 07
0
[LLVMdev] Instruction Cleanup Questions
...t, however, this is just a self copy.
How can I fix this?
Thanks again,
Hal
>
> >
> > 2. Which pass is responsible for cleaning up unconditional
> > jumps that should be fall-throughs:
> > 0x0000000010005d88 <+1688>: b 0x10005d8c
> > <._Z11sfoo+1692> 0x0000000010005d8c <+1692>: ld r3,-32056(r2)
> >
> >
> > This should be handled by the MachineBlockPlacement (among others).
> > Do you have a reduced est case?
> >
> >
> > _______________________________________________
> > LLVM Devel...