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

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 28 10:21:13 PST 2019


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

Added test cases to verify that we still optmize for VLA (as long as all non-variadic arguments are provided).


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.183904.patch
Type: text/x-patch
Size: 4519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/8492d5d5/attachment.bin>


More information about the llvm-commits mailing list