Drop assert that a call with struct return goes to a function with sret
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 21 Oct 2015 20:05:01 +0000 (20:05 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Wed, 21 Oct 2015 20:05:01 +0000 (20:05 +0000)
commitf1ad08798bdd96e7287169631bd03cac5ade43e7
tree28e2b27ada40006a7c5ff3450cd1176d09ec800e
parent062c18d55036338851b4ae370c001d959cbada30
Drop assert that a call with struct return goes to a function with sret
attribute. Clang incorrectly misses it on __muldc3 and friends and the
type system doesn't include it properly either.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250938 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
test/CodeGen/SPARC/missing-sret.ll [new file with mode: 0644]