Revert "[clang][Interp] Fix left-/right-shifting more than sizeof(unsigned)"
authorTimm Bäder <tbaeder@redhat.com>
Thu, 26 Jan 2023 06:49:10 +0000 (07:49 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 26 Jan 2023 06:49:10 +0000 (07:49 +0100)
commit136c7ef5d10fca0af101821b05084b428830e670
tree53beed6e58023f60b73d8c135bf9a003a71d348d
parent5bf56a58775cb235b7ed9e9fcc6895b797e9721b
Revert "[clang][Interp] Fix left-/right-shifting more than sizeof(unsigned)"

This reverts commit 00e967f6c2d626d1913f5af5763beab7946978ce.

This breaks builders where long is only 32 bits, e.g.
https://lab.llvm.org/buildbot/#/builders/65/builds/7721
https://lab.llvm.org/buildbot/#/builders/245/builds/3899
clang/lib/AST/Interp/Integral.h
clang/lib/AST/Interp/Interp.h
clang/test/AST/Interp/shifts.cpp