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
- rG LLVM Github Monorepo
- Build Status
Buildable 29730 Build 29729: arc lint + arc unit
Event Timeline
llvm/test/CodeGen/Generic/arg_returned_bitcast.ll | ||
---|---|---|
1–2 | 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 | Maybe this should also assert that the address spaces match? I don't know if the verifier checks this or not, but it should |
Maybe this should also assert that the address spaces match? I don't know if the verifier checks this or not, but it should