junbuml added a comment. > AArch64 already has a few small passes (the AAarch64DeadRegisterDefinitions pass comes to mind as a similar example). Thanks Matthew. I'm looking at this pass now. http://reviews.llvm.org/D16203