[llvm] r227809 - Fix ARM peephole optimizeCompare to avoid optimizing unsigned cmp to 0.
hans at chromium.org
Mon Feb 2 13:12:33 PST 2015
On Mon, Feb 2, 2015 at 8:56 AM, Jan Wen Voung <jvoung at google.com> wrote:
> Author: jvoung
> Date: Mon Feb 2 10:56:50 2015
> New Revision: 227809
> URL: http://llvm.org/viewvc/llvm-project?rev=227809&view=rev
> Fix ARM peephole optimizeCompare to avoid optimizing unsigned cmp to 0.
> Previously it only avoided optimizing signed comparisons to 0.
> Sometimes the DAGCombiner will optimize the unsigned comparisons
> to 0 before it gets to the peephole pass, but sometimes it doesn't.
> Fix for PR22373.
Renato: I think we want this for 3.6. Does it look ok to you?
More information about the llvm-commits