[PATCH] D117922: InferFunctionAttrs: fix assertion on aligned_alloc

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 07:27:27 PST 2022


reames requested changes to this revision.
reames added a comment.
This revision now requires changes to proceed.

It seems rather suspect to have a test change to fix an assertion.  Either the IR is invalid - in which case the verifier should reject - or it's valid, and the pass can not crash.

Patch rejected.

p.s. Please provide detail on the assertion you're fixing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117922



More information about the llvm-commits mailing list