[PATCH] Adding TableGen patterns to auto-select TBM instructions
Yunzhong Gao
Yunzhong_Gao at playstation.sony.com
Tue Oct 1 13:53:18 PDT 2013
I did not figure out how to use just patterns to express
"i32 (trunc i64imm:$cntl)", so I defined a new instruction for that purpose.
And fixed the patterns for BLCI to use "not (add $src, 1)" instead of
"sub -2, $src".
http://llvm-reviews.chandlerc.com/D1788
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1788?vs=4562&id=4587#toc
Files:
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/tbm_patterns.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1788.3.patch
Type: text/x-patch
Size: 12262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131001/00c37811/attachment.bin>
More information about the llvm-commits
mailing list