diff options
author | peter klausler <pklausler@nvidia.com> | 2021-10-20 10:37:09 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2021-10-22 10:38:27 -0700 |
commit | d5074c7166647ea1abd78f5bb7fd876cbf0bb7d1 (patch) | |
tree | 6f00be20e51ce89220c2834ab4c10ad98467318c /llvm/unittests/Support/ErrorTest.cpp | |
parent | d4da71282f6e30686e3324633436d82cd6059132 (diff) | |
download | llvm-d5074c7166647ea1abd78f5bb7fd876cbf0bb7d1.zip llvm-d5074c7166647ea1abd78f5bb7fd876cbf0bb7d1.tar.gz llvm-d5074c7166647ea1abd78f5bb7fd876cbf0bb7d1.tar.bz2 |
[flang] Fix bogus folding error for ISHFT(x, negative)
Negative shift counts are of course valid for ISHFT when
shifting to the right. This patch decouples the folding of
ISHFT from that of SHIFTA/L/R and adds tests.
Differential Revision: https://reviews.llvm.org/D112244
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions