[PATCH] D19488: [CodeGenPrepare] use branch weight metadata to decide if a select should be turned into a branch
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 08:57:46 PDT 2016
spatel updated this revision to Diff 55014.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
1. Added a cl::opt and code comment for the default min percentage threshold to enable the transform.
2. Rebased to account for http://reviews.llvm.org/rL267491 and http://reviews.llvm.org/rL267504 .
3. Removed trailing whitespace in test file.
http://reviews.llvm.org/D19488
Files:
include/llvm/IR/Instruction.h
include/llvm/IR/Instructions.h
include/llvm/Target/TargetLowering.h
lib/CodeGen/CodeGenPrepare.cpp
lib/CodeGen/TargetLoweringBase.cpp
lib/IR/Instructions.cpp
lib/IR/Metadata.cpp
test/CodeGen/X86/cmov-into-branch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19488.55014.patch
Type: text/x-patch
Size: 10367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160426/95175b7d/attachment.bin>
More information about the llvm-commits
mailing list