Hi James, Thanks for the input. It makes sense to have function arguments instead of global variable. Submitted as r225165 after modifying test case as per comments. Thanks! REPOSITORY rL LLVM http://reviews.llvm.org/D6781 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/