aboutsummaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorSchuyler Eldridge2021-08-26 13:40:59 -0400
committerGitHub2021-08-26 17:40:59 +0000
commitcc80c631e2a6a259f33d1d583107d5add05aaf12 (patch)
tree97b8a5df5a0c622f042000de4e6103e25b655a98 /benchmark
parentdc2fbad9d6431cb52a7ad26937a100b288b86206 (diff)
Fix dshl zero-width shift behavior (#2339)
* Fix dshl zero-width shift behavior Add a special case for dshl handling in the ZeroWidths pass. If one expression is shifted by a second, zero-width expression, just return the first expression. This prevents a bug where the width will incorrectly expand due to zero-widths introducing a 1-bit zero expression. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com> * fixup! Fix dshl zero-width shift behavior
Diffstat (limited to 'benchmark')
0 files changed, 0 insertions, 0 deletions