================ ---------------- nikic wrote: Why does one of these use getPrimitiveSizeInBits and the other uses DL? If these are both integers, getPrimitiveSizeInBits should work for both... https://github.com/llvm/llvm-project/pull/179640