OSDN Git Service

android: [AMDGPU] update cpp sources
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 10 Feb 2019 17:33:56 +0000 (18:33 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 24 Mar 2020 22:21:31 +0000 (23:21 +0100)
Porting of the following commits:

b461f4d ("[AMDGPU] Add an AMDGPU specific atomic optimizer.")
92794ee ("[AMDGPU] Add a pass to promote bitcast calls")
322a807 ("[AMDGPU] Add FixupVectorISel pass, currently Supports SREGs in GLOBAL LD/ST")
d339265 ("[AMDGPU] Combine DPP mov with use instructions (VOP1/2/3)")
c9d081f ("[AMDGPU] Add new Mode Register pass")
1da08e2 ("[AMDGPU] Add support for TFE/LWE in image intrinsics. 2nd try")

lib/Target/AMDGPU/Android.mk

index 014ad60..0403861 100644 (file)
@@ -31,7 +31,9 @@ amdgpu_codegen_SRC_FILES := \
   AMDGPUAnnotateUniformValues.cpp \
   AMDGPUArgumentUsageInfo.cpp \
   AMDGPUAsmPrinter.cpp \
+  AMDGPUAtomicOptimizer.cpp \
   AMDGPUCodeGenPrepare.cpp \
+  AMDGPUFixFunctionBitcasts.cpp \
   AMDGPUFrameLowering.cpp \
   AMDGPUHSAMetadataStreamer.cpp \
   AMDGPUInstrInfo.cpp \
@@ -81,9 +83,11 @@ amdgpu_codegen_SRC_FILES := \
   R600OptimizeVectorRegisters.cpp \
   R600Packetizer.cpp \
   R600RegisterInfo.cpp \
+  SIAddIMGInit.cpp \
   SIAnnotateControlFlow.cpp \
   SIDebuggerInsertNops.cpp \
   SIFixSGPRCopies.cpp \
+  SIFixupVectorISel.cpp \
   SIFixVGPRCopies.cpp \
   SIFixWWMLiveness.cpp \
   SIFoldOperands.cpp \
@@ -105,7 +109,9 @@ amdgpu_codegen_SRC_FILES := \
   SIRegisterInfo.cpp \
   SIShrinkInstructions.cpp \
   SIWholeQuadMode.cpp \
-  GCNILPSched.cpp
+  GCNILPSched.cpp \
+  GCNDPPCombine.cpp \
+  SIModeRegister.cpp
 
 ifeq ($(FORCE_BUILD_LLVM_GLOBAL_ISEL),true)
 amdgpu_codegen_TBLGEN_TABLES70 += \