[llvm] r262854 - AMDGPU: Remove a fixme for ptrrtoint handling
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 13:12:46 PST 2016
Author: arsenm
Date: Mon Mar 7 15:12:46 2016
New Revision: 262854
URL: http://llvm.org/viewvc/llvm-project?rev=262854&view=rev
Log:
AMDGPU: Remove a fixme for ptrrtoint handling
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp?rev=262854&r1=262853&r2=262854&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp Mon Mar 7 15:12:46 2016
@@ -433,7 +433,6 @@ static bool collectUsesWithPtrTypes(Valu
continue;
}
- // FIXME: Correctly handle ptrtoint instructions.
Instruction *UseInst = dyn_cast<Instruction>(User);
if (UseInst && UseInst->getOpcode() == Instruction::PtrToInt)
return false;
More information about the llvm-commits
mailing list