[llvm] [NVPTX] Add IR pass for FMA transformation in the llc pipeline (PR #154735)

Rajat Bajpai via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 27 02:56:18 PST 2025


================
@@ -0,0 +1,161 @@
+//===------ NVPTXIRPeephole.cpp - NVPTX IR Peephole --------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements FMA folding for float/double type for NVPTX. It folds
----------------
rajatbajpai wrote:

Sure, addressed in the latest revision. thanks!

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


More information about the llvm-commits mailing list