summaryrefslogtreecommitdiff
path: root/src/jit/gentree.cpp
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2017-10-03 14:23:57 -0400
committerSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2017-10-04 18:40:00 -0400
commita6c542efba8cf4f239ab6b97e4641d67c13ff564 (patch)
tree1e410b0f1af73053b6205f6555a466a63d1c89bc /src/jit/gentree.cpp
parentff41d13691fd0e224d8632b683b731ffa7935820 (diff)
downloadcoreclr-a6c542efba8cf4f239ab6b97e4641d67c13ff564.tar.gz
coreclr-a6c542efba8cf4f239ab6b97e4641d67c13ff564.tar.bz2
coreclr-a6c542efba8cf4f239ab6b97e4641d67c13ff564.zip
[Arm64] Implement GT_XADD, GT_XCHG, GT_CMPXCHG ...
Diffstat (limited to 'src/jit/gentree.cpp')
-rw-r--r--src/jit/gentree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/gentree.cpp b/src/jit/gentree.cpp
index 540d1686fc..296d85441f 100644
--- a/src/jit/gentree.cpp
+++ b/src/jit/gentree.cpp
@@ -15056,7 +15056,9 @@ void Compiler::gtExtractSideEffList(GenTreePtr expr,
if (oper == GT_XADD)
{
expr->SetOperRaw(GT_LOCKADD);
+#ifndef _TARGET_ARM64_
expr->gtType = TYP_VOID;
+#endif
}
// These operations are kind of important to keep