This allows use with non-0 address space stacks. llvm_ptr_ty should
never be used. This could use some more percolation up through mlir,
but this is enough to fix existing tests.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Fix temp slot type, oversized and overaligned for AMDGPU since it used the default address space pointer but wasn't broken.
Also assert types match and use the Create* functions
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
3911 | I was considering possible multiple stack handling or something, where you'd want to use the current instance's type. It shouldn't matter in reality |
Why not CreateStackSave? (same question for CGDecl.)