[PATCH] D57052: [IPCP] Don't crash due to arg count mismath between caller/callee

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 28 07:43:03 PST 2019


bjope updated this revision to Diff 183859.
bjope added a comment.

Updates:

- Fix for VarArgs (need to allow more actual than formal arguments).
- Added check for matching argument types (including a new test case).


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57052/new/

https://reviews.llvm.org/D57052

Files:
  lib/Transforms/IPO/IPConstantPropagation.cpp
  test/Transforms/IPConstantProp/arg-count-mismatch.ll
  test/Transforms/IPConstantProp/arg-type-mismatch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57052.183859.patch
Type: text/x-patch
Size: 3783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/bb186030/attachment.bin>


More information about the llvm-commits mailing list