AMDGPU/GlobalISel: Fix using readfirstlane with ballot intrinsics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 12 Aug 2020 16:34:46 +0000 (12:34 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Aug 2020 13:53:25 +0000 (09:53 -0400)
commitaf162ac785dd6aa371afc0f111544c82d72c5242
treefef601f5902454feebe189e9d08d16975fdcbde7
parentda3f357de67833ff2ded813a02158f3ec6dc25a7
AMDGPU/GlobalISel: Fix using readfirstlane with ballot intrinsics

This should use the default mapping and insert a copy to the vcc bank,
and not try to insert a readfirstlane.
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ballot.i64.mir [new file with mode: 0644]