[PATCH] D56950: [docs] Prevent O0 optnone for opt input

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 18 17:38:11 PST 2019


smeenai updated this revision to Diff 182653.
smeenai added a comment.

@ctopper comment


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56950/new/

https://reviews.llvm.org/D56950

Files:
  llvm/docs/HowToSubmitABug.rst


Index: llvm/docs/HowToSubmitABug.rst
===================================================================
--- llvm/docs/HowToSubmitABug.rst
+++ llvm/docs/HowToSubmitABug.rst
@@ -84,8 +84,8 @@
 ------------------------------
 
 If you find that a bug crashes in the optimizer, compile your test-case to a
-``.bc`` file by passing "``-emit-llvm -O0 -c -o foo.bc``".
-Then run:
+``.bc`` file by passing "``-emit-llvm -O1 -Xclang -disable-llvm-passes -c -o
+foo.bc``".  Then run:
 
 .. code-block:: bash
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56950.182653.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190119/c94243f2/attachment.bin>


More information about the llvm-commits mailing list