[llvm] [HLSL] Move FNeg legalization to the DXILLegalization pass (PR #140942)

Sumit Agarwal via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 13:13:07 PDT 2025


================
@@ -0,0 +1,23 @@
+; RUN: opt -S -passes='dxil-legalize' -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s
+
+define float @negateF(float %x) {
----------------
sumitsays wrote:

I believe no because `check-llvm-codegen-*` targets passed all tests.

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


More information about the llvm-commits mailing list