[llvm-commits] [PATCH] optimization of max-like struct for x86
Manman Ren
mren at apple.com
Wed Apr 25 09:33:29 PDT 2012
This patch is intended to optimize the following cases for x86:
(b > a) ? (b-a) : 0
(a < b) ? (b-a) : 0
It will use cmovs in generated x86 code.
The patch modified one source file: lib/Target/X86/X86ISelLowering.cpp
Please review & provide feedback.
Thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opt_max_x86.patch
Type: application/octet-stream
Size: 2316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120425/9412fc1f/attachment.obj>
More information about the llvm-commits
mailing list