diff options
author | Florian Hahn <flo@fhahn.com> | 2022-03-08 22:01:53 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-03-08 22:02:08 +0000 |
commit | e10b0ea371a80d059e67b316c082cb1d3b41ec71 (patch) | |
tree | 5a4d1bcec93e42bddd2481fd43246d5d96b23439 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | eae306f52c5966878ad55a4be21576982d37d3c9 (diff) | |
download | llvm-e10b0ea371a80d059e67b316c082cb1d3b41ec71.zip llvm-e10b0ea371a80d059e67b316c082cb1d3b41ec71.tar.gz llvm-e10b0ea371a80d059e67b316c082cb1d3b41ec71.tar.bz2 |
[ConstraintElimination] Remove over-eager assertion.
After moving the CanAdd check in c60cdb44f7ecb4b02ed and using it for
the assume cases as well, the passed in block may not have a branch
instruction as terminator. This can trigger the assertion. Given the new
use case, it doesn't add value any longer and can be removed.
Fixes https://github.com/llvm/llvm-project/issues/54281
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions