diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-01 16:25:23 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-01 16:25:23 +0000 |
| commit | d59e6404559f9adc510b1d89bae7177468c6d8c9 (patch) | |
| tree | 9955c89f3584d012d2f6bcb34e91de2d859619c9 /llvm/lib/Bitcode/Reader/BitReader.cpp | |
| parent | 08da2e28eebe4f1f3ef0beef91a83287e9b3b352 (diff) | |
| download | llvm-d59e6404559f9adc510b1d89bae7177468c6d8c9.zip llvm-d59e6404559f9adc510b1d89bae7177468c6d8c9.tar.gz llvm-d59e6404559f9adc510b1d89bae7177468c6d8c9.tar.bz2 | |
AMDGPU: Improve nsw/nuw/exact when promoting uniform i16 ops
These were simply preserving the flags of the original operation,
which was too conservative in most cases and incorrect for mul.
nsw/nuw may be needed for some combines to cleanup messes when
intermediate sext_inregs are introduced later.
Tested valid combinations with alive.
llvm-svn: 293776
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions
