[PATCH] CodeGenPrepare: Avoid and/or i1 in select conditions.
Matthias Braun
matze at braunis.de
Thu Feb 5 16:05:32 PST 2015
New Version: This expects the middleend to have selects normalized to selects with and/or conditions (see http://reviews.llvm.org/D7450). The Code to break it into a sequence of multiple selects is now in the CodeGenPrepare pass and relies on a TargetLowering hook to test whether the transformation is useful.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7399
Files:
include/llvm/Target/TargetLowering.h
lib/CodeGen/CodeGenPrepare.cpp
lib/Target/PowerPC/PPCISelLowering.h
test/CodeGen/R600/or.ll
test/CodeGen/X86/jump_sign.ll
test/CodeGen/X86/zext-sext.ll
test/Transforms/CodeGenPrepare/select_and_or.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7399.19442.patch
Type: text/x-patch
Size: 10568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/8f1873f4/attachment.bin>
More information about the llvm-commits
mailing list