[PATCH] Avoid illegal integer promotion in X86FastISel

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Nov 6 16:23:08 PST 2013


This patch changes fastisel to only fold constant add operations into GEPs when the type sizes match.  Without it, the operands of the add are implicitly promoted, changing the conditions of an overflow and the result of the GEP.

<rdar://problem/15292280>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fastisel-illegal-promotion.patch
Type: application/octet-stream
Size: 3374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131106/4bdd7fcf/attachment.obj>


More information about the llvm-commits mailing list