From 4b8db65dbfc4074f045ea0319edd8de2f59545bf Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Tue, 15 May 2012 18:47:22 +0400 Subject: [PATCH] radeon/llvm: add names for AMDGPU* passes Signed-off-by: Vadim Girlin Reviewed-by: Tom Stellard --- src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp | 3 +++ src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp b/src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp index 1a3cf014d51..b876a660fe7 100644 --- a/src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp +++ b/src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp @@ -31,6 +31,9 @@ public: MachineFunctionPass(ID), TM(tm) { } virtual bool runOnMachineFunction(MachineFunction &MF); + + virtual const char *getPassName() const {return "AMDGPU Convert to ISA";} + }; } // End anonymous namespace diff --git a/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp b/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp index 42374ef1254..d129a3bbb21 100644 --- a/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp +++ b/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp @@ -38,6 +38,8 @@ public: virtual bool runOnMachineFunction(MachineFunction &MF); + virtual const char *getPassName() const {return "AMDGPU Lower Instructions";} + }; } // End anonymous namespace -- 2.30.2