[llvm] [PPC] Add custom lowering for uaddo (PR #110137)

Zaara Syeda via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 13:34:58 PDT 2024


================
@@ -0,0 +1,38 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=powerpc-ibm-aix-xcoff | FileCheck %s
+
----------------
syzaara wrote:

It is valid, but I'm only custom lowering @llvm.uadd.with.overflow.i32 for 32-bit mode and @llvm.uadd.with.overflow.i64 for 64-bit mode. So I didn't add the checks for the other modes as its the default lowering.

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


More information about the llvm-commits mailing list