diff options
author | Vadim Girlin <[email protected]> | 2012-05-15 18:47:22 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2012-05-15 18:47:22 +0400 |
commit | 4b8db65dbfc4074f045ea0319edd8de2f59545bf (patch) | |
tree | cf0d1d6ff7ab7f9921752ce6236b713dd524c7f8 | |
parent | 76ba7e22056aa461c40d8a8c8bd82d81ccba111c (diff) |
radeon/llvm: add names for AMDGPU* passes
Signed-off-by: Vadim Girlin <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUConvertToISA.cpp | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
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 |