[PATCH][ARM] Label offset crashes llvm integrated assembler

Saleem Abdulrasool compnerd at compnerd.org
Thu Mar 13 00:09:20 PDT 2014


On Wed, Mar 12, 2014 at 11:23 PM, Saleem Abdulrasool
<compnerd at compnerd.org>wrote:

> On Wed, Mar 12, 2014 at 11:12 PM, Jiangning Liu <liujiangning1 at gmail.com>wrote:
>
>> Hi,
>>
>> Attached patch is to raise an error message when finding an expression at
>> compile time can't really be solved as a constant for immediate operand.
>> Without this patch, llvm compiler would crash.
>>
>
> The attached patch seems wrong.  With the attached
> change, validateTargetOperandClass always returns Match_InvalidOperand for
> any immediate in this addressing mode.  If the value is a constant value,
> then it should return Match_Success.
>

The crash should be addressed by SVN r203762.


>
>
-- 
>> Thanks,
>> -Jiangning
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>>
>
>
> --
> Saleem Abdulrasool
> compnerd (at) compnerd (dot) org
>



-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140313/38a793a5/attachment.html>


More information about the llvm-commits mailing list