rampitec wrote: > I suppose left shift of negative values is undefined because if you shift out the sign bit you can overflow and get a positive value. https://github.com/llvm/llvm-project/pull/68959 https://github.com/llvm/llvm-project/pull/68740