summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-01 07:22:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-01 07:22:57 +0000
commit7c57b88b2782a18ba9c4bf7975febd55de7d1e6f (patch)
treec269fc6df444629e8daca3b3d1c96bd3d9ecb570 /llvm/lib/VMCore/Function.cpp
parente67d0c226d0dca727f82425580d60df596e006eb (diff)
downloadbcm5719-llvm-7c57b88b2782a18ba9c4bf7975febd55de7d1e6f.tar.gz
bcm5719-llvm-7c57b88b2782a18ba9c4bf7975febd55de7d1e6f.zip
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. llvm-svn: 35540
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud