[llvm] [ORC] Add signext on @sum() arguments in test. (PR #113308)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 15:41:02 PDT 2024


================
@@ -90,6 +90,35 @@ class OrcCAPITestBase : public testing::Test {
 
     LLVMOrcDisposeLLJIT(J);
     TargetSupported = true;
+
+    // Create test functions in text format, with the proper extension
+    // attributes.
+    if (SumExample.empty()) {
+      std::string I32RetExt = "";
+      std::string I32ArgExt = "";
----------------
lhames wrote:

These can just be `StringRef`s. 

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


More information about the llvm-commits mailing list