[PATCH] D37389: [AMDGPU] Produce madak and madmk from the two-address pass
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 6 15:10:16 PDT 2017
arsenm added inline comments.
================
Comment at: test/CodeGen/AMDGPU/madak.ll:40
; GCN: s_endpgm
define amdgpu_kernel void @madak_2_use_f32(float addrspace(1)* noalias %out, float addrspace(1)* noalias %in) nounwind {
%tid = tail call i32 @llvm.amdgcn.workitem.id.x() nounwind readnone
----------------
Should add a test with 3 uses. We should consider not doing it for > 2 uses if optsize
https://reviews.llvm.org/D37389
More information about the llvm-commits
mailing list