rengolin added a comment. Now that both ARM and AArch64 target parsers are implemented, we can follow to a table-gen driven design. If you still want to have that stop-gap code, move it to a unit test. http://reviews.llvm.org/D14759