OSDN Git Service

AMDGPU: Don't emit build_pair during udivrem legalization
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 1 Mar 2016 05:06:05 +0000 (05:06 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 1 Mar 2016 05:06:05 +0000 (05:06 +0000)
commit7ff5c71a614a374ae845481397d65c5d3490257e
treed8caf049955cffb8b3068fb4bbe83560763be34e
parentc8a36aecdf0c86bcc3ac53cfec94e1302bcdf6f6
AMDGPU: Don't emit build_pair during udivrem legalization

Technically you aren't supposed to emit these after type legalization
for some reason, and we use vector extracts of bitcasted integers
as the canonical way to do this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262298 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelLowering.cpp