[llvm-commits] [llvm] r92726 - in /llvm/trunk/lib: AsmParser/ Bitcode/Reader/ Bitcode/Writer/ CodeGen/ CodeGen/SelectionDAG/ ExecutionEngine/ ExecutionEngine/Interpreter/ ExecutionEngine/JIT/ Transforms/IPO/ Transforms/InstCombine/ Transforms/Utils/ VMCore/

Benjamin Kramer benny.kra at googlemail.com
Tue Jan 5 11:29:00 PST 2010


Am 05.01.2010 um 18:58 schrieb Chris Lattner:

> On Jan 5, 2010, at 5:12 AM, Benjamin Kramer wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=92726&view=rev
>> Log:
>> Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer.
> 
> Nice!!  Are you interested in adding a "Type::isInt(unsigned Bitwidth) const" predicate, and converting the code over to using it?
> 
> -Chris
> 

Sure, is the attached patch OK?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: isInteger.patch
Type: application/octet-stream
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100105/8e060137/attachment.obj>


More information about the llvm-commits mailing list