The original AutoUpgrade code from 1e68724d24ba38de7c7cdb2e1939d78c8b37cc0d
did not retain existing attributes. I noticed this in some downstream test
cases but it turns out there is also one affected testcase upstream.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/IR/AutoUpgrade.cpp | ||
---|---|---|
4080 | Don't you need to remove the attributes the the 4th argument (that is being dropped) from the attribute list? |
llvm/lib/IR/AutoUpgrade.cpp | ||
---|---|---|
4080 | Oh yes that's a good point. I guess it hasn't mattered so far since I've not seen an attribute on that argument, let me see what happens if there is one. |
Don't you need to remove the attributes the the 4th argument (that is being dropped) from the attribute list?