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. Sounds like BS. It is defined. Unexpected maybe. https://github.com/llvm/llvm-project/pull/68740