diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-06-15 17:56:54 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-06-22 13:16:45 -0400 |
commit | 9ad8a1f6fb2aea775736cd59129b7299be443c5c (patch) | |
tree | 5cdf6725a992e7c2c2dea2eda4047f1bbd774c31 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 805e1a58965b52e9473c6c2a2db2a4d089511200 (diff) | |
download | llvm-9ad8a1f6fb2aea775736cd59129b7299be443c5c.zip llvm-9ad8a1f6fb2aea775736cd59129b7299be443c5c.tar.gz llvm-9ad8a1f6fb2aea775736cd59129b7299be443c5c.tar.bz2 |
AMDGPU: Fix high 16-bit optimization on gfx9
We can do this optimization in the majority of cases, but we currently
don't have a way to do it. We do not track/model which instructions
have which behavior, the control bit to change the high bit behavior,
or making use of preserved bits at all. This is a bit fuzzy since we
don't know precisely how the source instruction will be lowered, but
that only really matters in one case (for fma_mixlo).
We do need to fixup some of these cases after selection, but the
pattern helps eliminate many of these zexts.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions