davemgreen wrote: I've removed the first condition. My C++ is probably worse now than when I started working on a compiler, so let me know if anything looks wrong :) https://github.com/llvm/llvm-project/pull/114328