Expand Div/Rem: consider the case where the dividend is zero
authorNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Thu, 1 Sep 2022 16:04:26 +0000 (17:04 +0100)
committerNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Thu, 1 Sep 2022 16:04:26 +0000 (17:04 +0100)
commit858fe8664eddd6d73241c1103213a00268528597
tree7217cbc9a017f1191cfa3eba30c81f9d57451324
parent9599393eebf7b5ef46a144938f593e812dd01a18
Expand Div/Rem: consider the case where the dividend is zero
So we can't use ctlz in poison-producing mode
llvm/lib/Transforms/Utils/IntegerDivision.cpp
llvm/test/CodeGen/AMDGPU/sdiv64.ll
llvm/test/CodeGen/AMDGPU/srem64.ll
llvm/test/CodeGen/AMDGPU/udiv64.ll
llvm/test/CodeGen/AMDGPU/urem64.ll
llvm/test/Transforms/ExpandLargeDivRem/sdiv129.ll
llvm/test/Transforms/ExpandLargeDivRem/srem129.ll
llvm/test/Transforms/ExpandLargeDivRem/udiv129.ll
llvm/test/Transforms/ExpandLargeDivRem/urem129.ll