[llvm-commits] [llvm] r51636 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/memmove.ll

Chris Lattner clattner at apple.com
Wed May 28 11:20:13 PDT 2008


On May 28, 2008, at 11:19 AM, Dale Johannesen wrote:

>
> On May 28, 2008, at 11:16 AM, Chris Lattner wrote:
>
>>
>> On May 28, 2008, at 9:18 AM, Dale Johannesen wrote:
>>
>>> volatile?
>>
>> memmove isn't volatile.
>
> Its arguments may be ptr-to-volatile, and in that case the transform
> is invalid.

memmove takes void* arguments, so when you pass pointer to volatile,  
the implicit conversion strips off volatile.  Is there some part of  
the standard I'm missing here?

-Chris



More information about the llvm-commits mailing list