diff options
author | Ruiling Song <ruiling.song@amd.com> | 2020-08-11 15:35:46 +0800 |
---|---|---|
committer | Ruiling Song <ruiling.song@amd.com> | 2020-08-13 10:23:13 +0800 |
commit | 18b1e675232b44c905bce28211286f7df6434f27 (patch) | |
tree | 21b6f44cbb52221141e64756f40e8cbb6ff74bb6 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | b28e3db88d053b94250562f837758dc8a92a0a0f (diff) | |
download | llvm-18b1e675232b44c905bce28211286f7df6434f27.zip llvm-18b1e675232b44c905bce28211286f7df6434f27.tar.gz llvm-18b1e675232b44c905bce28211286f7df6434f27.tar.bz2 |
[AMDGPU] Fix crash when dag-combining bitcast
From the code after the 'break', they are processing 64bit scalar and
vector bitcast. So I think the break-condition should be (cond1 || cond2)
This means we only execute following code if (64bit and dest-is-vector).
Also remove a previous fix which is not needed with this new fix.
(introduced in: 1349a04ef5f594dda705ec80474dda4837f26dba)
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D85804
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions