[llvm-commits] [llvm] r58673 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/LLVMTargetMachine.cpp lib/CodeGen/StackProtector.cpp

Bill Wendling wendling at apple.com
Mon Nov 17 23:31:22 PST 2008


On Nov 17, 2008, at 10:00 PM, Chris Lattner wrote:

>> Hmm, perhaps. If the load is marked "volatile", will the optimizer
>> passes refrain from moving it around? That's the only question.
>> Right now the intrinsic is marked as "IntrReadMem", so I'm hoping
>> that passes will leave it alone.
>
> IntrReadMem is the same as a non-volatile load.  A volatile load would
> be better.
>
>>
Sounds good! Thanks for catching that. :-)

-bw



More information about the llvm-commits mailing list