diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-01 07:22:57 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-01 07:22:57 +0000 |
commit | 559d77afb30b72e6e62cec89def71a04b7504b11 (patch) | |
tree | 77a6ec6adc6a03aa31ab2d88f1c79cc8bc565e3e /lib/VMCore/Function.cpp | |
parent | c4de3dec62c3f60ae7297f93c19c799c403c2e9f (diff) |
For PR1297:
1. Clear up confusion between "GotBits" and "ExpectBits". GotBits is the
type actually provided. ExpectedBits is the type expected for the
intrinsics. Before this patch, it was reversed!
2. Implement checks for overloaded intrinsics. This involves computing the
suffix expected and making sure the suffix matches the function name. It
also includes some intrinsic-specific checks such as ensuring that the
bswap parameter and result are the same width and an even number of bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions