[PATCH] D42830: Add and link to a testing philosophy document in the developer documentation.

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 18:01:55 PST 2018


MatzeB added inline comments.


================
Comment at: docs/TestingPolicy.rst:42
+
+``clang -O0 -mllvm -disable-llvm-optzns -S a.c -o - -emit-llvm | FileCheck %s``
+
----------------
MatzeB wrote:
> I hate making a simple example more complicated... But I would add `-disable-O0-optnone` to the clang commandline as many developers get biten by that nowadays.
Actually maybe using `-O3 -mllvm -disable-llvm-optzns -emit-llvm` would be the way to go here ?


Repository:
  rL LLVM

https://reviews.llvm.org/D42830





More information about the llvm-commits mailing list