[llvm] r178970 - PPC FMR instruction does not have side effects

David Blaikie dblaikie at gmail.com
Sun Apr 28 07:56:20 PDT 2013


Can this (& subsequent similar tests) be tested?
On Apr 7, 2013 3:01 PM, "Hal Finkel" <hfinkel at anl.gov> wrote:

> Author: hfinkel
> Date: Sat Apr  6 23:56:16 2013
> New Revision: 178970
>
> URL: http://llvm.org/viewvc/llvm-project?rev=178970&view=rev
> Log:
> PPC FMR instruction does not have side effects
>
> Modified:
>     llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
>
> Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td?rev=178970&r1=178969&r2=178970&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td (original)
> +++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Sat Apr  6 23:56:16 2013
> @@ -1201,6 +1201,7 @@ let Uses = [RM] in {
>  /// often coalesced away and we don't want the dispatch group builder to
> think
>  /// that they will fill slots (which could cause the load of a LSU reject
> to
>  /// sneak into a d-group with a store).
> +let neverHasSideEffects = 1 in
>  def FMR   : XForm_26<63, 72, (outs F4RC:$frD), (ins F4RC:$frB),
>                       "fmr $frD, $frB", FPGeneral,
>                       []>,  // (set f32:$frD, f32:$frB)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130428/581200af/attachment.html>


More information about the llvm-commits mailing list