https://github.com/RKSimon commented: No objection to this being in x86 for starters, but we should expect it to be moved to generic code (probably as a TargetLowering expand method) in the near future. https://github.com/llvm/llvm-project/pull/205263