[PATCH] D28346: [AVR] Allow specifying the CPU on the command line

Dylan McKay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 5 15:35:22 PST 2017


dylanmckay marked 2 inline comments as done.
dylanmckay 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
+
----------------
asl wrote:
> This looks wrong. How you're using FileCheck? Consider dumping pre-built defines and checking the output.
That's a much better idea, fixed


https://reviews.llvm.org/D28346





More information about the cfe-commits mailing list