nikic wrote: @dtcxzyw I don't see how the lookup-table based implementation improves this code. It makes it impossible to understand or verify the logic behind the transform. https://github.com/llvm/llvm-project/pull/67895