[llvm] d1a677c - [VE] Adapt D77995 CallSite removal

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 19:56:04 PDT 2020


Author: Fangrui Song
Date: 2020-04-13T19:54:49-07:00
New Revision: d1a677cd33e9d4941e2c88f4872ea2855aac5104

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

LOG: [VE] Adapt D77995 CallSite removal

Added: 
    

Modified: 
    llvm/lib/Target/VE/VEISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/VE/VEISelLowering.cpp b/llvm/lib/Target/VE/VEISelLowering.cpp
index e8f98abbf448..8c611f7f292c 100644
--- a/llvm/lib/Target/VE/VEISelLowering.cpp
+++ b/llvm/lib/Target/VE/VEISelLowering.cpp
@@ -447,7 +447,7 @@ SDValue VETargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
 
   // Set inreg flag manually for codegen generated library calls that
   // return float.
-  if (CLI.Ins.size() == 1 && CLI.Ins[0].VT == MVT::f32 && !CLI.CS)
+  if (CLI.Ins.size() == 1 && CLI.Ins[0].VT == MVT::f32 && !CLI.CB)
     CLI.Ins[0].Flags.setInReg();
 
   RVInfo.AnalyzeCallResult(CLI.Ins, RetCC_VE);


        


More information about the llvm-commits mailing list