summaryrefslogtreecommitdiff
path: root/src/jit/emitarm64.cpp
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2017-09-15 18:08:09 -0400
committerSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2017-09-25 14:13:50 -0400
commit95f69bf863b500c645a072bc7a46f52bbdb3c491 (patch)
tree4cbdbeebedf1b5cbbebdaf1dc1de052a14fc4f8c /src/jit/emitarm64.cpp
parentee79bb188e097b49f5ffcb36f0d7c86314d45579 (diff)
downloadcoreclr-95f69bf863b500c645a072bc7a46f52bbdb3c491.tar.gz
coreclr-95f69bf863b500c645a072bc7a46f52bbdb3c491.tar.bz2
coreclr-95f69bf863b500c645a072bc7a46f52bbdb3c491.zip
[Arm64] Use GTF_SET_FLAGS/GTF_USE_FLAGS
Diffstat (limited to 'src/jit/emitarm64.cpp')
-rw-r--r--src/jit/emitarm64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/emitarm64.cpp b/src/jit/emitarm64.cpp
index 0feb5e38c6..d901f8a8cf 100644
--- a/src/jit/emitarm64.cpp
+++ b/src/jit/emitarm64.cpp
@@ -11448,11 +11448,11 @@ regNumber emitter::emitInsTernary(instruction ins, emitAttr attr, GenTree* dst,
bool isMulOverflow = false;
if (dst->gtOverflowEx())
{
- if (ins == INS_add)
+ if ((ins == INS_add) || (ins == INS_adds))
{
ins = INS_adds;
}
- else if (ins == INS_sub)
+ else if ((ins == INS_sub) || (ins == INS_subs))
{
ins = INS_subs;
}