[PATCH] D57171: [opaque pointer types] Pass function types to InvokeInst creation.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 10:54:26 PST 2019


jyknight created this revision.
jyknight added a reviewer: dblaikie.
Herald added a subscriber: hiraditya.

This cleans up all InvokeInst creation in LLVM to explicitly pass a
function type rather than deriving it from the pointer's element-type.


https://reviews.llvm.org/D57171

Files:
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/IRBuilder.cpp
  llvm/lib/IR/Instructions.cpp
  llvm/lib/Target/X86/X86WinEHState.cpp
  llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
  llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/unittests/IR/InstructionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57171.183343.patch
Type: text/x-patch
Size: 5982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/09e22c3f/attachment.bin>


More information about the llvm-commits mailing list