[PATCH] D38479: Make -mgeneral-regs-only more like GCC's

George Burgess IV via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 21:17:14 PDT 2017


george.burgess.iv added a comment.

I like the idea of fixing those things, too; I'll start poking them soon. :)

Even if we do end up fixing all of that, I still think it would be good to try to diagnose this in the frontend. So, if anyone has comments on this while I'm staring at the aarch64 backend, please let me know.



================
Comment at: test/CodeGen/aarch64-mgeneral_regs_only.c:2
+// RUN: %clang -target aarch64 -mgeneral-regs-only %s -o - -S -emit-llvm | FileCheck %s
+// %clang -target aarch64 -mgeneral-regs-only %s -o - -S | FileCheck %s --check-prefix=ASM
+
----------------
Oops, forgot a `RUN:` here.


https://reviews.llvm.org/D38479





More information about the cfe-commits mailing list