diff options
| author | Dan Gohman <gohman@apple.com> | 2007-08-16 21:57:19 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-08-16 21:57:19 +0000 |
| commit | febf946ea7591f01417c8dc735a96039dea4401c (patch) | |
| tree | cc6eb2d545221e322b4de9cf1953d8a970d8f3f6 /llvm/utils/TableGen/IntrinsicEmitter.cpp | |
| parent | cdee44c12a3f5a381eeb06e5ac0c65f1dfe273aa (diff) | |
| download | bcm5719-llvm-febf946ea7591f01417c8dc735a96039dea4401c.tar.gz bcm5719-llvm-febf946ea7591f01417c8dc735a96039dea4401c.zip | |
Add MVT::fAny for overloading intrinsics on floating-point types.
llvm-svn: 41128
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index f5df933f2ea..c3db273ce60 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -146,7 +146,7 @@ static void EmitTypeGenerate(std::ostream &OS, Record *ArgType, unsigned Number = ArgType->getValueAsInt("Number"); assert(Number < ArgNo && "Invalid matching number!"); OS << "Tys[" << Number << "]"; - } else if (VT == MVT::iAny) { + } else if (VT == MVT::iAny || VT == MVT::fAny) { // NOTE: The ArgNo variable here is not the absolute argument number, it is // the index of the "arbitrary" type in the Tys array passed to the // Intrinsic::getDeclaration function. Consequently, we only want to |

