summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn/git-svnrevert
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-01-17 03:10:06 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-01-17 03:10:06 +0000
commitc018efd6804b7144367ca12697bc560d436b4dc5 (patch)
tree44d3b92e4eb0829e446afe033a0f282b5a731869 /llvm/utils/git-svn/git-svnrevert
parent6b9be1dbe1addd95f070fd59606023a045ff1248 (diff)
downloadbcm5719-llvm-c018efd6804b7144367ca12697bc560d436b4dc5.tar.gz
bcm5719-llvm-c018efd6804b7144367ca12697bc560d436b4dc5.zip
[TLI] Robustize SDAG proto checking by merging it into TLI.
SelectionDAGBuilder recognizes libfuncs using some homegrown parameter type-checking. Use TLI instead, removing another heap of redundant code. This isn't strictly NFC, as the SDAG code was too lax. Concretely, this means changes are required to two tests: - calling a non-variadic function via a variadic prototype isn't OK; it just happens to work on x86_64 (but not on, e.g., aarch64). - mempcpy has a size_t parameter; the SDAG code accepts any integer type, which meant using i32 on x86_64 worked. I don't think it's worth supporting either of these (IMO) broken testcases. Instead, fix them to be more correct. llvm-svn: 292189
Diffstat (limited to 'llvm/utils/git-svn/git-svnrevert')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud