[llvm-commits] [llvm] r51933 - /llvm/trunk/lib/CodeGen/LowerSubregs.cpp
Chris Lattner
clattner at apple.com
Wed Jun 4 08:27:26 PDT 2008
On Jun 4, 2008, at 2:17 AM, Evan Cheng wrote:
> Author: evancheng
> Date: Wed Jun 4 04:17:16 2008
> New Revision: 51933
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51933&view=rev
> Log:
> LowerSubregs should not clobber any analysis.
Hey Evan,
Passes should only set this if they make no changes to the code at
all. Please just preserve the specific passes that you know are safe
for lower subregs.
-Chris
>
>
> Modified:
> llvm/trunk/lib/CodeGen/LowerSubregs.cpp
>
> Modified: llvm/trunk/lib/CodeGen/LowerSubregs.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LowerSubregs.cpp?rev=51933&r1=51932&r2=51933&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/CodeGen/LowerSubregs.cpp (original)
> +++ llvm/trunk/lib/CodeGen/LowerSubregs.cpp Wed Jun 4 04:17:16 2008
> @@ -30,6 +30,10 @@
> return "Subregister lowering instruction pass";
> }
>
> + void getAnalysisUsage(AnalysisUsage &AU) const {
> + AU.setPreservesAll();
> + }
> +
> /// runOnMachineFunction - pass entry point
> bool runOnMachineFunction(MachineFunction&);
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list