This is the method used by various other PowerPC passes, and was suggested by Hal. As I only want this for a chicken switch, using -mllvm <opt> is fine with me. http://reviews.llvm.org/D8706 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/