[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:05 PDT 2024
================
@@ -0,0 +1,240 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=riscv32 -mattr=+m | FileCheck %s --check-prefix=RV32I
+; RUN: llc < %s -mtriple=riscv64 -mattr=+m | FileCheck %s --check-prefix=RV64I
+
+define i8 @scmp.8.8(i8 %x, i8 %y) nounwind {
----------------
nikic wrote:
Here as well, uses signext/zeroext.
https://github.com/llvm/llvm-project/pull/98774
More information about the llvm-commits
mailing list