mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 19:46:39 +00:00
![George Burgess IV](/assets/img/avatar_default.png)
We're already removing allocsize attributes from Functions that we remove args from, since removing arguments from a function may make the allocsize attribute incorrect. It appears we forgot to also remove them from callsites. Without this, I get verifier errors on `@Test2`. It probably wouldn't be too hard to make DAE properly update allocsize attributes instead of dropping them, but I can't think of a scenario where that'd be useful in practice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329868 91177308-0d34-0410-b5e6-96231b3b80d8