AMDGPU: Don't look at dbg users for foldable operands
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 22 Jul 2020 19:20:38 +0000 (15:20 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Aug 2020 13:53:25 +0000 (09:53 -0400)
commitda3f357de67833ff2ded813a02158f3ec6dc25a7
treed4165e88bff2ffdd4d91aafa865cec4d03124299
parent9c4825ce282d30ea108e6371c15cb692060ff4f3
AMDGPU: Don't look at dbg users for foldable operands

These would have always failed to fold, so checking them or adding
them to the fold candidates is useless.
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp