[LLVMdev] Is MachineLoop Simplify Form?
atrick at apple.com
Thu Jul 28 15:28:45 PDT 2011
On Jul 28, 2011, at 2:56 PM, Jakub Staszak wrote:
> Is there any reason that we don't have isLoopSimplifyForm method in LoopBase? Can I move it there?
I'll take a wild guess that it's because LoopSimplify doesn't run on MachineLoops and lowering passes can invalidate it. You can always test for individual loop properties that you need instead of calling isLoopSimplify. For example, do you *really* need hasDedicatedExits()? If your MachineLoops don't need it, then you should leave it's implementation LoopInfo.cpp.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev