[PATCH] D41348: [ARM] Lower unsigned saturation to USAT

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 04:59:43 PST 2017

fhahn added inline comments.

Comment at: lib/Target/ARM/ARMISelLowering.cpp:4302
+    // Handle the difference between USAT (unsigned) and SSAT (signed) saturation
+    if (Val1 == ~Val2) {
+      usat = false;
No braces needed here I think


More information about the llvm-commits mailing list