[cfe-commits] r130830 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Bill Wendling isanbard at gmail.com
Wed May 4 13:33:30 PDT 2011


On May 4, 2011, at 5:53 AM, Chris Lattner wrote:

> On May 3, 2011, at 7:40 PM, Bill Wendling wrote:
> 
>> Author: void
>> Date: Tue May  3 21:40:38 2011
>> New Revision: 130830
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=130830&view=rev
>> Log:
>> Convert the non-temporal store builtins to LLVM-native IR.
> 
> Thanks Bill,
> 
> MDNode::get takes an ArrayRef, so you don't need the SmallVector temporary, just pass the ConstantInt in directly.  Also, IRBuilder has a helper to get i32 constants, something like Builder->getInt32(1)
> 
Okay. I made the change. Thanks! :-)

-bw





More information about the cfe-commits mailing list