[llvm] [InstCombine] Precommit test for #79417. NFC. (PR #79418)

Qiu Chaofan via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 00:34:24 PST 2024


================
@@ -0,0 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -mtriple=powerpc64-linux-gnu -passes=instcombine < %s -o - | llc -mtriple=powerpc64-linux-gnu -o - | FileCheck %s
+
+define  i64 @absdiff(i64 %0, i64 %1) {
----------------
ecnelises wrote:

Will the combination differ by triple? If this is `opt` change, I don't think we should mix `opt` runlines in codegen test to 'prove' combine result is better.

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


More information about the llvm-commits mailing list