[llvm] [DAGCombiner] Share byte provider steps with AMDGPU target (PR #221959)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 06:31:23 PDT 2026
================
@@ -0,0 +1,45 @@
+//===-- 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;
+
+std::optional<ByteProvider>
+llvm::calculateByteProviderForOr(SDValue Op, unsigned Index,
+ SDByteProviderRecurseFn Recurse) {
----------------
aobolensk wrote:
reworked
https://github.com/llvm/llvm-project/pull/221959
More information about the llvm-commits
mailing list