[llvm-commits] [llvm] r159383 - in /llvm/trunk: include/llvm/Intrinsics.td lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp test/CodeGen/Generic/donothing.ll
Nuno Lopes
nunoplopes at sapo.pt
Thu Jul 5 10:40:25 PDT 2012
Quoting Chris Lattner <clattner at apple.com>:
> On Jun 28, 2012, at 3:30 PM, Nuno Lopes wrote:
>
>> Author: nlopes
>> Date: Thu Jun 28 17:30:12 2012
>> New Revision: 159383
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=159383&view=rev
>> Log:
>> add a new @llvm.donothing intrinsic that, well, does nothing, and
>> teach CodeGen to ignore calls to it
>
> Great name :). Please add it to LangRef if you haven't already.
Ah, I forgot that part. Added it to LangRef.
Well, I couldn't come up with any other name, given the restrictions
we had (no NOP), so.. Well, I guess it works.
Nuno
More information about the llvm-commits
mailing list