[PATCH] D144309: [HLSL] add max/min library functions

Joshua Batista via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 17 17:23:45 PST 2023


bob80905 added inline comments.


================
Comment at: clang/test/CodeGenHLSL/builtins/min.hlsl:10
+// CHECK: call half @llvm.minnum.f16(
+// NO_HALF: define noundef float @"?test_min_half@@YA$halff@$halff at 0@Z"(
+// NO_HALF: call float @llvm.minnum.f32(
----------------
I had to add a 0 here for the NO_HALF case for all these tests, which is unlike what I had to do for previous tests. Not sure why, but thought I would point it out.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144309/new/

https://reviews.llvm.org/D144309



More information about the cfe-commits mailing list