This is an archive of the discontinued LLVM Phabricator instance.

[VE] udiv/sdiv/urem/srem/mul isel patterns
ClosedPublic

Authored by simoll on Jan 29 2020, 6:36 AM.

Details

Summary

udiv/sdiv/urem/srem/mul integer isel patterns and tests.
Pretend for now that integer division were always cheap in HW.

Diff Detail

Event Timeline

simoll created this revision.Jan 29 2020, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 29 2020, 6:36 AM
arsenm accepted this revision.Jan 29 2020, 6:55 AM
This revision is now accepted and ready to land.Jan 29 2020, 6:55 AM
This revision was automatically updated to reflect the committed changes.

Unit tests: fail. 62286 tests passed, 8 failed and 837 were skipped.

failed: LLVM.CodeGen/AMDGPU/branch-relaxation.ll
failed: LLVM.CodeGen/AMDGPU/cf-loop-on-constant.ll
failed: LLVM.CodeGen/AMDGPU/infinite-loop.ll
failed: LLVM.CodeGen/AMDGPU/optimize-negated-cond.ll
failed: LLVM.CodeGen/AMDGPU/uniform-cfg.ll
failed: LLVM.CodeGen/AMDGPU/update-phi.ll
failed: LLVM.CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
failed: LLVM.Transforms/LoopStrengthReduce/AMDGPU/different-addrspace-crash.ll

clang-tidy: fail. clang-tidy found 2 errors and 0 warnings. 0 of them are added as review comments below (why?).

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.