aboutsummaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2011-01-28 14:20:32 +0000
committerRoman Divacky <rdivacky@freebsd.org>2011-01-28 14:20:32 +0000
commit14e66553d57ebec1d8ca6619f6570c5342a7a764 (patch)
tree33ce4bba8936c4653a489d2b6c4a8e34df3d3108 /lib/MC
parent468ee0a90db9ee7367bd163fcc3cb5b867753385 (diff)
Add support for parsing .float
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCParser/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index 17fe1437ce..891930d9e7 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/lib/MC/MCParser/AsmParser.cpp
@@ -985,7 +985,7 @@ bool AsmParser::ParseStatement() {
return ParseDirectiveValue(8);
if (IDVal == ".8byte")
return ParseDirectiveValue(8);
- if (IDVal == ".single")
+ if (IDVal == ".single" || IDVal == ".float")
return ParseDirectiveRealValue(APFloat::IEEEsingle);
if (IDVal == ".double")
return ParseDirectiveRealValue(APFloat::IEEEdouble);