[PATCH] AArch64: Don't lower ISD::SELECT to ISD::SELECT_CC
Matthias Braun
matze at braunis.de
Mon Mar 9 16:11:13 PDT 2015
Hi t.p.northover,
Instead of lowering SELECT to SELECT_CC which is further lowered later
immediately call the SELECT_CC lowering code. This is preferable
because:
- Avoids an unnecessary roundtrip through the legalization queues with
an intermediate node.
- More importantly: Lowered operations get visited last leading to SELECT_CC
getting visited with legalized operands and unlegalized ones for preexisting
SELECT_CC nodes. This does not hurt the current code (hence no testcase) but
is required for another patch I am working on.
http://reviews.llvm.org/D8187
Files:
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8187.21530.patch
Type: text/x-patch
Size: 5951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150309/c49399ea/attachment.bin>
More information about the llvm-commits
mailing list