[llvm] ca39c83 - fix a typo

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 18:02:29 PST 2023


Author: Chen Zheng
Date: 2023-11-09T21:02:15-05:00
New Revision: ca39c83653306185916bb8d6d1be96c374ee61f6

URL: https://github.com/llvm/llvm-project/commit/ca39c83653306185916bb8d6d1be96c374ee61f6
DIFF: https://github.com/llvm/llvm-project/commit/ca39c83653306185916bb8d6d1be96c374ee61f6.diff

LOG: fix a typo

Added: 
    

Modified: 
    llvm/tools/llc/llc.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index 0b174afc22ddced..73c3a1fef514de7 100644
--- a/llvm/tools/llc/llc.cpp
+++ b/llvm/tools/llc/llc.cpp
@@ -614,7 +614,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
 
   assert(M && "Should have exited if we didn't have a module!");
   if (codegen::getFloatABIForCalls() != FloatABI::Default)
-    Options.FloatABIType = codegen::getFloatABIForCalls();
+    Target->Options.FloatABIType = codegen::getFloatABIForCalls();
 
   // Figure out where we are going to send the output.
   std::unique_ptr<ToolOutputFile> Out =


        


More information about the llvm-commits mailing list