[PATCH] D42067: [SelectionDAG] Teach computeKnownBits about ATOMIC_CMP_SWAP_WITH_SUCCESS boolean return value
Ulrich Weigand via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 12:49:11 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322985: [SelectionDAG] Teach computeKnownBits about ATOMIC_CMP_SWAP_WITH_SUCCESS… (authored by uweigand, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42067?vs=129843&id=130677#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42067
Files:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Index: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2442,6 +2442,7 @@
break;
case ISD::SMULO:
case ISD::UMULO:
+ case ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS:
if (Op.getResNo() != 1)
break;
// The boolean result conforms to getBooleanContents.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42067.130677.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180119/56bd84a3/attachment.bin>
More information about the llvm-commits
mailing list