summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-11-11 00:51:36 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-11-11 00:51:36 +0000
commit5d2b5c7d997059280214d2c8928462ca4e6630e5 (patch)
treeedb9c91d547497f9f3e952058b332371277bd2fa /lib/MC/MCAsmInfoCOFF.cpp
parentf98fd35fa91779e7e4fbec91d435d3770eef7c02 (diff)
[MC] Use LShr for constant evaluation of ">>" on non-arm64 darwin.
Follow-up to r235963: this matches other assemblers and is less unexpected (e.g. PR23227). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp
index 97fc76a9adb..5b9dd2009f8 100644
--- a/lib/MC/MCAsmInfoCOFF.cpp
+++ b/lib/MC/MCAsmInfoCOFF.cpp
@@ -37,8 +37,7 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
UseIntegratedAssembler = true;
- // FIXME: For now keep the previous behavior, AShr. Need to double-check
- // other COFF-targeting assemblers and change this if necessary.
+ // At least MSVC inline-asm does AShr.
UseLogicalShr = false;
}