[PATCH] D11060: AMDGPU/SI: Select mad patterns to v_mac_f32
Tom Stellard
thomas.stellard at amd.com
Thu Jul 9 17:26:52 PDT 2015
tstellarAMD added inline comments.
================
Comment at: lib/Target/AMDGPU/SIFoldOperands.cpp:131
@@ +130,3 @@
+ const MachineInstr *MI) {
+ for (auto Candidate : FoldList) {
+ if (Candidate.UseMI == MI)
----------------
arsenm wrote:
> FoldList seems like it should be a set or map instead
A map with UseMI as the Key and FoldCandidate as the value?
http://reviews.llvm.org/D11060
More information about the llvm-commits
mailing list