[PATCH] D88806: [SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but as zext/trunc/self of SCEVUnknown
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 09:39:55 PDT 2020
hans added a comment.
Not sure about doom, but it did trigger an assert in Chromium's builds:
llvm/lib/IR/Constants.cpp:1868: static llvm::Constant* llvm::ConstantExpr::getTrunc(llvm::Constant*, llvm::Type*, bool): Assertion `C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"' failed.
See https://bugs.chromium.org/p/chromium/issues/detail?id=1137416#c4 for a reproducer.
I've reverted in 17cec6a11a12f815052d56a17ef738cf246a2d9a
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88806/new/
https://reviews.llvm.org/D88806
More information about the llvm-commits
mailing list