jmolloy added a comment. Hi, Why isn't the right solution to adapt this check in ISelLowering: if (!Subtarget->isThumb1Only()) setOperationAction(ISD::BITREVERSE, MVT::i32, Legal); ? Cheers, James Repository: rL LLVM http://reviews.llvm.org/D15932