[llvm] [SandboxIR] Implement SIToFPInst (PR #101374)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 10:50:05 PDT 2024


================
@@ -1378,6 +1380,27 @@ class CastInst : public Instruction {
 #endif
 };
 
+class SIToFPInst final : public CastInst {
----------------
aeubanks wrote:

I wonder if it's possible to do some CRTP magic to stamp out all of these instantiations much more succinctly. Let me mess around locally.

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


More information about the llvm-commits mailing list