summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-05 22:40:13 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-05 22:40:13 +0000
commite53314f7e3b43dbea77db9dc324b410e01c9db8f (patch)
tree3307c5ba279c3180f0ade2812c6f453e13e16001 /llvm/lib/CodeGen/SelectionDAG
parente5cb4981d06e30594a947b5c44fe84cd71763a97 (diff)
downloadbcm5719-llvm-e53314f7e3b43dbea77db9dc324b410e01c9db8f.tar.gz
bcm5719-llvm-e53314f7e3b43dbea77db9dc324b410e01c9db8f.zip
Cleanup a few magic numbers.
llvm-svn: 163263
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index d81c376fe12..31d633c89b4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -6085,7 +6085,7 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
if (IA->isAlignStack())
ExtraInfo |= InlineAsm::Extra_IsAlignStack;
// Set the asm dialect.
- ExtraInfo |= IA->getDialect() << 2;
+ ExtraInfo |= IA->getDialect() * InlineAsm::Extra_AsmDialect;
AsmNodeOperands.push_back(DAG.getTargetConstant(ExtraInfo,
TLI.getPointerTy()));
OpenPOWER on IntegriCloud