This is hit by the verifier when looking at call arguments / return
type. There is a test in a subsequent commit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hm, is this supposed to be allowed? I thought we'd always have a layout type -- an unsized one if nothing else?
Comment Actions
There's nothing right now that would prevent this. Though we could default the layout type to something other than nullptr, if that is preferred. Maybe void?
Comment Actions
Isn't this already the default? https://github.com/llvm/llvm-project/blob/788e6ff4e5e6414c6707e91e95829f1d7c76b1aa/llvm/lib/IR/Type.cpp#L876
Comment Actions
Ah, my bad. I was working with local changes for so long that I hadn't noticed this got lost somehow. Sorry about that. I will follow-up with an adjustment to my later typeinfo diff.