[PATCH] D115530: [GlobalOpt][Evaluator] Rewrite global ctor evaluation (fixes PR51879)
Haowei Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 4 11:08:25 PST 2022
haowei added subscribers: phosek, paulkirth, haowei.
haowei added a comment.
We are seeing assertion errors in some of Fuchsia's clang builders after this change was landed, the error message is:
clang++: llvm/lib/IR/Constants.cpp:2281: static llvm::Constant *llvm::ConstantExpr::getBitCast(llvm::Constant *, llvm::Type *, bool): Assertion `CastInst::castIsValid(Instruction::BitCast, C, DstTy) && "Invalid constantexpr bitcast!"' failed.
Looks like the assertion error happens in LLVM's own codebase. It can be reproduced with reproducer: https://drive.google.com/file/d/10Cip4txCebPg2iNRt0x60WDGViSe8U_8/view?usp=sharing
Could you take a look, and if it takes a long time to fix, could you revert this change please?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115530/new/
https://reviews.llvm.org/D115530
More information about the llvm-commits
mailing list