[llvm] [PowerPC] Inline callee if its target-features are a subset of the caller (PR #67710)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 7 22:42:30 PDT 2023
================
@@ -0,0 +1,37 @@
+; RUN: opt < %s -mtriple=powerpc64le-unknown-linux-gnu -S -passes=inline | FileCheck %s
+; Check that we only inline when we have compatible target features.
+
+target datalayout = "e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512"
+target triple = "powerpc64le-unknown-linux-gnu"
----------------
chenzheng1030 wrote:
nit: these two target related assignments seem unnecessary.
https://github.com/llvm/llvm-project/pull/67710
More information about the llvm-commits
mailing list