[clang] [LTO] Add unified LTO tests for the PS targets. (PR #148229)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 11 20:46:04 PDT 2025


================
@@ -0,0 +1,33 @@
+// RUN: %clang -flto=thin --target=x86_64-scei-ps4 -O2 -c %s -o %t.ps4.tu -Xclang -fdebug-pass-manager 2>%t.ps4.tu.txt
----------------
MaskRay wrote:

unified-lto-pipeline.c is present and serves the purpose. For target-generic codegen features, we usually test just one platform (it doesn't really scale if every platform that does no customization wants to add their own tests). If PS ever customizes the behavior, we can accept the new test.

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


More information about the cfe-commits mailing list