[llvm-commits] [llvm] r149367 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/2006-05-11-InstrSched.ll test/CodeGen/X86/avx-intrinsics-x86.ll test/CodeGen/X86/avx2-intrinsics-x86.ll

Craig Topper craig.topper at gmail.com
Thu Feb 2 22:15:55 PST 2012


Auto upgrade support implemented in r149678.

On Wed, Feb 1, 2012 at 6:24 PM, Craig Topper <craig.topper at gmail.com> wrote:

>
>
> On Wed, Feb 1, 2012 at 5:50 PM, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On Feb 1, 2012, at 10:29 AM, Evan Cheng wrote:
>>
>> > Can you add logic to bitcode upgrader to handle them?
>>
>> Great catch: this is something that is important, but that I overlooked.
>>  We really want LLVM to be able to read LLVM 3.0 bitcode (and later
>> releases) files.  If LLVM 3.0 generated these intrinsics, then we want the
>> bitcode reader to be able to handle them, transparently rewriting them into
>> the compare instructions they are now represented with.
>>
>> The code for this should just be dropped into lib/VMCore/AutoUpgrade.cpp.
>>  There are only a couple of intrinsics being upgraded now, but a lot more
>> were supported back in the LLVM 3.0 release (and have been subsequently
>> removed, since we don't need to support 2.x bitcode files).
>>
>
> I'll see if I can take a stab at doing this.
>
>
>>
>> -Chris
>>
>>
>
>
> --
> ~Craig
>



-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120202/66896caa/attachment.html>


More information about the llvm-commits mailing list