[clang] [llvm] [transforms] Inline simple variadic functions (PR #81058)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 23:47:08 PST 2024


================
@@ -0,0 +1,117 @@
+// RUN: %clang_cc1 -triple i386-unknown-linux-gnu -Wno-varargs -O1 -disable-llvm-passes -emit-llvm -o - %s | opt --passes=instcombine | opt -passes="expand-variadics,default<O1>" -S | FileCheck %s --check-prefixes=CHECK,X86Linux
----------------
arsenm wrote:

can do this in one opt run?

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


More information about the cfe-commits mailing list