Patch to BitcodeReader

Tom Roeder tmroeder at google.com
Thu Sep 12 14:03:55 PDT 2013


Here's a version with a comment and the fixed CHECK statement.


On Thu, Sep 12, 2013 at 1:53 PM, Tobias Grosser <tobias at grosser.es> wrote:

> On 09/12/2013 10:50 PM, Tom Roeder wrote:
>
>> Yes, that triggers it. Here's an updated patch that uses the test you
>> suggest and uses FileCheck to make sure that the right IR is generated
>> from
>> llvm-dis. I'm new to the LLVM testing infrastructure, so please tell me if
>> there's a better way to do this check.
>>
>
> It is probably enough to CHECK: just for the line that contains the select.
>
> Also, please add a short comment to the test case (or call the function
> accordingly) such that it is clear we test the CS select and not any select.
>
> With those changes applied, this patch seems good to go.
>
> Thank you,
> Tobias
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130912/7a62eeee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ce_select.patch
Type: application/octet-stream
Size: 2514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130912/7a62eeee/attachment.obj>


More information about the llvm-commits mailing list