diff options
author | Tom Stellard <[email protected]> | 2012-04-25 12:16:27 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-04-25 12:52:44 -0400 |
commit | 30f2a38cef4d4a75776fbd822ff4ad716302b888 (patch) | |
tree | 42e749570ba8478848076cb6b904bf0b139fad33 /src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp | |
parent | 540ec964db1c0046935def3c85b2a5c7bd634782 (diff) |
radeon/llvm: Remove AMDILMachineFunctionInfo.cpp
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp b/src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp index 4859fe9df51..5fe9f53c8c8 100644 --- a/src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp +++ b/src/gallium/drivers/radeon/AMDILPeepholeOptimizer.cpp @@ -16,7 +16,6 @@ #include "AMDILAlgorithms.tpp" #include "AMDILDevices.h" -#include "AMDILMachineFunctionInfo.h" #include "AMDILUtilityFunctions.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" @@ -241,20 +240,6 @@ AMDILPeepholeOpt::doAtomicConversionIfNeeded(Function &F) if (mConvertAtomics) { return; } - // If we did not convert all of the atomics, then we need to make sure that - // the atomics that were not converted have their base pointers set to use the - // arena path. - Function::arg_iterator argB = F.arg_begin(); - Function::arg_iterator argE = F.arg_end(); - AMDILMachineFunctionInfo *mMFI = getAnalysis<MachineFunctionAnalysis>().getMF() - .getInfo<AMDILMachineFunctionInfo>(); - for (; argB != argE; ++argB) { - if (mSTM->device()->isSupported(AMDILDeviceInfo::ArenaUAV)) { - mMFI->uav_insert(mSTM->device()->getResourceID(AMDILDevice::ARENA_UAV_ID)); - } else { - mMFI->uav_insert(mSTM->device()->getResourceID(AMDILDevice::GLOBAL_ID)); - } - } } bool |