[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
Loading
Please sign in to comment