[patch] arm bugfix: invalid add/sub constant

This patch fix the follwing bug.

cat teste.ll | ./llvm-as | ./llc -march=arm | as
{standard input}: Assembler messages:
{standard input}:7: Error: invalid constant (30000010) after fixup
{standard input}:16: Error: invalid constant (30000010) after fixup

Lauro

llvm.patch (4.31 KB)

addSubConstant.ll (597 Bytes)