[PATCH] D42829: Emit label names according to -discard-value-names.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 2 07:19:42 PST 2018


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM with a small formatting nit in the test.



================
Comment at: test/CodeGenCXX/discard-name-values.cpp:7
 
-// CHECK: ret i32 %bar
-// DISCARDVALUE: ret i32 %0
+extern "C" void branch();
+
----------------
Indentation is a bit off here. Actually, it seems off for much of the file -- can you reindent the comments as well?


https://reviews.llvm.org/D42829





More information about the cfe-commits mailing list