The $ct is the base register in ctoptr, so swap around their uses in LLVM to conform to the odd interpretation everywhere else.