aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-01 20:49:41 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-01 20:49:41 +0000
commit206f8263489543a65361230e1e7ab7ea2d9c3ac8 (patch)
tree99855c0e2afd7be967ffb69e26b94876082ac820 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent6886061dab1a53e361bddc1d480c2fdb7980d37d (diff)
downloadllvm-206f8263489543a65361230e1e7ab7ea2d9c3ac8.zip
llvm-206f8263489543a65361230e1e7ab7ea2d9c3ac8.tar.gz
llvm-206f8263489543a65361230e1e7ab7ea2d9c3ac8.tar.bz2
AMDGPU: Fix handling of div_scale with undef inputs
The src0 register must match src1 or src2, but if these were undefined they could end up using different implicit_defed virtual registers. Force these to use one undef vreg or pick the defined other register. Also fixes producing invalid nodes without the right number of inputs when src2 is undef. llvm-svn: 309743
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions