[PATCH] D55616: Emit ASM input in a constant context

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 17 13:45:36 PST 2018


efriedma added inline comments.


================
Comment at: test/CodeGen/builtin-constant-p.c:2
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O2 | FileCheck --check-prefix=O2 %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O0 | FileCheck --check-prefix=O0 %s
 
----------------
Given this code doesn't check the optimization level anymore, do you still need separate check prefixes for `O2` and `O0`.  Or if that doesn't work for everything, maybe you could share a check prefix for some of the tests? (Maybe it would make sense to check IR generated using `-disable-llvm-passes`.)


Repository:
  rC Clang

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

https://reviews.llvm.org/D55616





More information about the cfe-commits mailing list