diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-11 20:51:02 -0500 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-17 11:05:50 -0800 |
commit | 96db12d507fbac8b67278775d3234fa9b8178d22 (patch) | |
tree | 7b74f29b69be14fc13328c7fe32bfa8000cd1f0b /clang/lib/Serialization/ModuleManager.cpp | |
parent | cef85193b2cc1817ca43199a0ae9c6f25723997d (diff) | |
download | llvm-96db12d507fbac8b67278775d3234fa9b8178d22.zip llvm-96db12d507fbac8b67278775d3234fa9b8178d22.tar.gz llvm-96db12d507fbac8b67278775d3234fa9b8178d22.tar.bz2 |
AMDGPU/GlobalISel: Custom lower 32-bit G_UDIV/G_UREM
AMDGPUCodeGenPrepare expands this most of the time, but not always. We
will always at least need a fallback option here. This is the 3rd
implementation of the same expansion in the backend. Eventually I
would like to eliminate the IR expansion (and the DAG version
obviously).
Currently the new legalizer path produces a better result, since the
IR expansion results in extra operations which need to be combined
out. Notably, the IR expansion results in multiplies by 0.
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions