[PATCH] Add an explicit insert point argument to SplitBlockAndInsertIfThen

Evgeniy Stepanov eugenis at google.com
Wed Dec 18 06:41:27 PST 2013


Hi kcc, samsonov, pcc,

Currently SplitBlockAndInsertIfThen requires that branch condition is an Instruction itself, which is very inconvenient, because it is sometimes an Operator, or even a Constant.


http://llvm-reviews.chandlerc.com/D2435

Files:
  lib/Transforms/Utils/BasicBlockUtils.cpp
  lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  lib/Transforms/Instrumentation/MemorySanitizer.cpp
  include/llvm/Transforms/Utils/BasicBlockUtils.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2435.1.patch
Type: text/x-patch
Size: 10064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131218/389e1356/attachment.bin>


More information about the llvm-commits mailing list