summaryrefslogtreecommitdiff
path: root/utils/TableGen/NeonEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/NeonEmitter.cpp')
-rw-r--r--utils/TableGen/NeonEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp
index 3c7a9fee00..6c5f86290d 100644
--- a/utils/TableGen/NeonEmitter.cpp
+++ b/utils/TableGen/NeonEmitter.cpp
@@ -669,7 +669,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
case 'h': nElts = 4; break;
case 'f': nElts = 2; break;
}
- nElts <<= quad;
+ if (quad) nElts <<= 1;
char arg = 'a';
std::string s;