[PATCH] D11678: [CodeGen] Fixes *absdiff* intrinsic: LangRef doc/test case improvement and corresponding code change
Bruno Cardoso Lopes via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 06:13:22 PDT 2015
bruno added a subscriber: bruno.
================
Comment at: docs/LangRef.rst:10713
@@ +10712,3 @@
+The ``llvm.uabsdiff`` intrinsic returns a vector result of the absolute difference
+of the two operands, treating them both as unsigned integers.The operation of this intrinsic will be
+performed on a larger data type than the given type.The final result will be truncated to the given type.
----------------
Space after the dot
================
Comment at: lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp:747
@@ +746,3 @@
+ return DAG.getNode(ISD::TRUNCATE, dl, Op.getValueType(), Sub);
+ }
+ Cmp =
----------------
Remove the curly braces
http://reviews.llvm.org/D11678
More information about the llvm-commits
mailing list