https://llvm.org/bugs/show_bug.cgi?id=25722

Peter Smith <peter.sm...@linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Peter Smith <peter.sm...@linaro.org> ---
I've put in a fix that has been committed upstream.

ldr rt, =expr will be transformed into mov rt, expr when expr can be evaluated
to a constant and the operands can be represented by an available mov
instruction.

It does not support fixups so if expr can't be evaluated to a constant at the
time ldr rt, =expr is encountered, but can be later in the file then a constant
pool will still be generated.

http://reviews.llvm.org/D20153
http://reviews.llvm.org/D20154
http://reviews.llvm.org/D20155 

committed with revisions:
r269352
r269353
r269354

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to