[clang] [llvm] [HLSL] Implement the `reflect` HLSL function (PR #122992)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 10:13:28 PST 2025


================
@@ -34,6 +34,7 @@
 #include "llvm/IR/IntrinsicsSPIRV.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/raw_ostream.h"
----------------
farzonl wrote:

Not sure why you need an include your changes to  `selectExtInst` are the same string stream as the default intrinsic error reporting case: https://github.com/llvm/llvm-project/blob/6518b121f037717fd211c36659f7b25266424719/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp#L3124C5-L3128C48

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


More information about the llvm-commits mailing list