[PATCH] D28346: [AVR] Allow specifying the CPU on the command line
Anton Korobeynikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 4 13:13:57 PST 2017
asl added inline comments.
================
Comment at: test/CodeGen/avr/target-cpu-defines/atmega328p.c:1
+// RUN: %clang_cc1 -triple avr-unknown-unknown -target-cpu atmega328p -emit-llvm %s -o - | FileCheck %s
+
----------------
This looks wrong. How you're using FileCheck? Consider dumping pre-built defines and checking the output.
================
Comment at: test/CodeGen/avr/target-cpu-defines/attiny104.c:1
+// RUN: %clang_cc1 -triple avr-unknown-unknown -target-cpu attiny104 -emit-llvm %s -o - | FileCheck %s
+
----------------
Same issue here and in all the tests.
https://reviews.llvm.org/D28346
More information about the cfe-commits
mailing list