[PATCH] D77221: [AVR] Rework MCU family detection to support more AVR MCUs

2020-04-02 Thread Vlastimil Labsky via Phabricator via cfe-commits
vlastik updated this revision to Diff 254456. vlastik added a comment. Fix regression introduced by patch Failed unit tests: - Clang.Driver::avr-link-mcu-family-unimplemented.c - Clang.Misc::target-invalid-cpu-note.c CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77221/new/ https://rev

[PATCH] D77221: [AVR] Rework MCU family detection to support more AVR MCUs

2020-04-01 Thread Vlastimil Labsky via Phabricator via cfe-commits
vlastik created this revision. vlastik added a reviewer: dylanmckay. Herald added subscribers: cfe-commits, Jim, hiraditya, mgorny. Herald added a project: clang. AVR port now supports only ATmega328. This patch makes more MCUs work with clang Repository: rG LLVM Github Monorepo https://revie

[PATCH] D77119: [AVR] Fix function pointer address space

2020-03-31 Thread Vlastimil Labsky via Phabricator via cfe-commits
vlastik added a comment. In D77119#1952293 , @dylanmckay wrote: > Nice work @vlastik, do you need someone to commit this for you? Thanks, yes please I need someone to commit the patch CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77119/new/ ht

[PATCH] D77119: [AVR] Fix function pointer address space

2020-03-31 Thread Vlastimil Labsky via Phabricator via cfe-commits
vlastik updated this revision to Diff 253802. vlastik added a comment. Fix formatting CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77119/new/ https://reviews.llvm.org/D77119 Files: clang/lib/CodeGen/CodeGenTypes.cpp Index: clang/lib/CodeGen/CodeGenTypes.cpp ===

[PATCH] D77119: [AVR] Fix function pointer address space

2020-03-31 Thread Vlastimil Labsky via Phabricator via cfe-commits
vlastik created this revision. vlastik added a reviewer: dylanmckay. Herald added subscribers: cfe-commits, Jim. Herald added a project: clang. Function pointers should be created with program address space. This fixes function pointers on AVR. Repository: rG LLVM Github Monorepo https://revi