[llvm] [DAGCombiner] Share byte provider steps with AMDGPU target (PR #221959)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 08:43:45 PDT 2026


================
@@ -0,0 +1,33 @@
+//===-- ByteProvider.cpp -------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/CodeGen/ByteProvider.h"
+
+using namespace llvm;
----------------
shiltian wrote:

Having this cpp file doesn't buy us anything, since it doesn't avoid including another gigantic header in the header file.

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


More information about the llvm-commits mailing list