llvm-project/llvm/test/CodeGen/AVR
Alex Richardson c142c06c19 Place the BlockAddress type in the address space of the containing function
While this should not matter for most architectures (where the program
address space is 0), it is important for CHERI (and therefore Arm Morello).
We use address space 200 for all of our code pointers and without this
change we assert in the SelectionDAG handling of BlockAddress nodes.

It is also useful for AVR: previously programs targeting
AVR that attempt to read their own machine code
via a pointer to a label would instead read from RAM
using a pointer relative to the the start of program flash.

Reviewed By: dylanmckay, theraven
Differential Revision: https://reviews.llvm.org/D48803
2021-07-02 12:17:55 +01:00
..
atomics
calling-conv/c [AVR] Rewrite the function calling convention. 2020-06-23 21:36:18 +12:00
features [AVR] Fix I/O instructions on XMEGA 2020-05-17 19:46:09 +12:00
inline-asm [AVR] Improve inline assembly 2021-05-30 23:44:43 +08:00
integration
intrinsics
pseudo [AVR] Fix lifeness issues in the AVR backend 2021-03-04 14:04:39 +01:00
relax-mem [AVR] Fix def state of operands 2021-03-03 15:36:05 +01:00
PR31344.ll
PR31345.ll
PR37143.ll
add.ll [AVR] Fix miscompilation of zext + add 2020-06-18 16:51:37 +02:00
alloca.ll
and.ll
avr-rust-issue-123.ll
block-address-is-in-progmem-space.ll Place the BlockAddress type in the address space of the containing function 2021-07-02 12:17:55 +01:00
branch-relaxation-long.ll
branch-relaxation.ll
brind.ll Place the BlockAddress type in the address space of the containing function 2021-07-02 12:17:55 +01:00
call.ll [AVR] Remove faulty stack pushing behavior 2020-06-16 13:53:32 +02:00
clear-bss.ll
cmp.ll [AVR] Optimize 16-bit comparison with constant 2021-01-24 00:38:57 +08:00
com.ll [update_llc_test_checks] Support AVR 2021-01-26 17:50:56 +08:00
copy-data-to-ram.ll
ctlz.ll [AVR] Optimize 8-bit logic left/right shifts 2021-01-23 23:54:16 +08:00
ctpop.ll [AVR] Optimize 8-bit logic left/right shifts 2021-01-23 23:54:16 +08:00
cttz.ll [AVR] Optimize 8-bit logic left/right shifts 2021-01-23 23:54:16 +08:00
directmem.ll
div.ll [AVR] Do not use divmod calls for bigger integers 2020-04-20 13:56:38 +02:00
dynalloca.ll [AVR] Remove faulty stack pushing behavior 2020-06-16 13:53:32 +02:00
eor.ll
expand-integer-failure.ll
frame.ll
frmidx-iterator-bug.ll
hardware-mul.ll
high-pressure-on-ptrregs.ll
icall-func-pointer-correct-addr-space.ll Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
impossible-reg-to-reg-copy.ll
interrupts.ll [AVR] Fix a bug in prologue of ISR 2021-06-29 21:44:50 +08:00
io.ll
issue-cannot-select-bswap.ll
issue-regalloc-stackframe-folding-earlyclobber.ll
jmp-long.ll [AVR] Don't adjust for instruction size 2020-06-23 02:15:42 +02:00
large-return-size.ll
lit.local.cfg
load.ll
lower-formal-args-struct-return.ll
lower-formal-arguments-assertion.ll
neg.ll [AVR] Fix expansion of NEGW 2021-03-03 15:36:05 +01:00
no-print-operand-twice.ll
or.ll
pre-schedule.ll
progmem-extended.ll
progmem.ll
rem.ll
return.ll [AVR] Fix stack size in functions with a frame pointer 2020-06-16 13:53:32 +02:00
rot.ll [AVR] Improve inline rotate/shift expansions 2020-10-31 23:15:49 +01:00
runtime-trig.ll
rust-avr-bug-37.ll Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
rust-avr-bug-95.ll Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
rust-avr-bug-99.ll
rust-avr-bug-112.ll
rust-trait-object.ll [AVR] Fix global references to function symbols 2021-02-10 00:40:49 +13:00
sections.ll [AVR] Do not place functions in .progmem.data 2020-04-20 13:56:38 +02:00
select-must-add-unconditional-jump.ll
sext.ll
shift.ll [AVR] Fix a bug in 16-bit shifts 2021-02-14 11:54:55 +08:00
sign-extension.ll
smul-with-overflow.ll [AVR] Optimize 8-bit int shift 2021-01-24 11:04:37 +08:00
software-mul.ll
std-ldd-immediate-overflow.ll
store-undef.ll
store.ll
struct.ll [AVR][test] Add a new test: functions with struct return type 2021-06-28 21:19:26 +08:00
sub.ll
trunc.ll
umul-with-overflow.ll
umul.with.overflow.i16-bug.ll
unaligned-atomic-loads.ll
varargs.ll [AVR] Remove faulty stack pushing behavior 2020-06-16 13:53:32 +02:00
xor.ll
zext.ll