lgtm after what seems like a typo. ================ Comment at: test/CodeGenCXX/cfi-cast.cpp:58 @@ +57,3 @@ + // CHECK-DCAST: ret + static_cast<B&>(a); +} ---------------- `B&&` http://reviews.llvm.org/D8312 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/