[PATCH] D11060: AMDGPU/SI: Select mad patterns to v_mac_f32

Matt Arsenault Matthew.Arsenault at amd.com
Thu Jul 9 09:56:20 PDT 2015


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: lib/Target/AMDGPU/SIFoldOperands.cpp:131
@@ +130,3 @@
+                              const MachineInstr *MI) {
+  for (auto Candidate : FoldList) {
+    if (Candidate.UseMI == MI)
----------------
FoldList seems like it should be a set or map instead


http://reviews.llvm.org/D11060







More information about the llvm-commits mailing list