[PATCH] Thumb2: When optimizing for size, do not if-convert branches involving comparisons with zero.
Peter Collingbourne
peter at pcc.me.uk
Tue Apr 21 20:11:09 PDT 2015
Hi t.p.northover,
This allows the constant island pass to lower these branches to cbn?z
instructions, resulting in a shorter instruction sequence.
http://reviews.llvm.org/D9183
Files:
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/Thumb2/2011-06-07-TwoAddrEarlyClobber.ll
test/CodeGen/Thumb2/ifcvt-compare.ll
test/CodeGen/Thumb2/v8_IT_3.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9183.24193.patch
Type: text/x-patch
Size: 3726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/cdf43f49/attachment.bin>
More information about the llvm-commits
mailing list