An argument that is return by a function but bit-casted before can still
be annotated as "returned". Make sure we do not crash for this case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/test/CodeGen/Generic/arg_returned_bitcast.ll | ||
---|---|---|
1–2 ↗ | (On Diff #192566) | test/CodeGen/Generic should not be used. This should be moved to some specific target, and test something in the output |
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
8948–8949 ↗ | (On Diff #192566) | Maybe this should also assert that the address spaces match? I don't know if the verifier checks this or not, but it should |