Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Invalid constexpr bitcast in tupleof() #21

Open
ErikMcClure opened this issue Feb 6, 2023 · 0 comments
Open

Invalid constexpr bitcast in tupleof() #21

ErikMcClure opened this issue Feb 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ErikMcClure
Copy link
Contributor

Minimal example:

local things = (tupleof "hello")

Explodes with

Assertion failed: CastInst::castIsValid(Instruction::BitCast, C, DstTy) && "Invalid constantexpr bitcast!", file D:\code\vcpkg\buildtrees\llvm\src\org-13.0.0-117f64cd8e.clean\llvm\lib\IR\Constants.cpp, line 2226

This seems unrelated to global pointer issues and is likely easy to fix once the root cause can be narrowed down.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant