From: "Shen-Ta Hsieh(BestSteve)" <ibmibmibm.tw@gmail.com>
Date: Tue, 1 Oct 2024 16:05:58 +0800
Subject: Support LLVM 19 (#3809)

* Remove unused and deprecated llvm-c functions

Signed-off-by: Shen-Ta Hsieh <beststeve@secondstate.io>
---
 lib/llvm/llvm.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/llvm/llvm.h b/lib/llvm/llvm.h
index 0999ac2..b5e1974 100644
--- a/lib/llvm/llvm.h
+++ b/lib/llvm/llvm.h
@@ -1228,12 +1228,6 @@ public:
   Value createNeg(Value V, const char *Name = "") noexcept {
     return LLVMBuildNeg(Ref, V.unwrap(), Name);
   }
-  Value createNSWNeg(Value V, const char *Name = "") noexcept {
-    return LLVMBuildNSWNeg(Ref, V.unwrap(), Name);
-  }
-  Value createNUWNeg(Value V, const char *Name = "") noexcept {
-    return LLVMBuildNUWNeg(Ref, V.unwrap(), Name);
-  }
   Value createFNeg(Value V, const char *Name = "") noexcept {
     return LLVMBuildFNeg(Ref, V.unwrap(), Name);
   }
