dtcxzyw wrote: > this pass of simplifycfg https://godbolt.org/z/PhqdMcWG3 looks strange to me starts to call ctpop for zero but do not drop the range attribute You are correct. https://github.com/llvm/llvm-project/pull/100899