[llvm] [SelectionDAG] Expand [US]CMP using arithmetic on boolean values instead of selects (PR #98774)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 01:14:06 PDT 2024


================
@@ -0,0 +1,152 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=powerpc64-unknown-unknown %s -o - | FileCheck %s
+
+define i8 @scmp_8_8(i8 %x, i8 %y) nounwind {
----------------
nikic wrote:

Same here, ppc64 uses signext/zeroext.

https://github.com/llvm/llvm-project/pull/98774


More information about the llvm-commits mailing list