aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/integer-overflow.c
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2017-05-02 00:11:34 +0000
committerDylan McKay <me@dylanmckay.io>2017-05-02 00:11:34 +0000
commit634339ab402f6aa430c688f5159c770b5b6f2a61 (patch)
tree995356f7257ce9a87afa6a57b38db00d9633694f /clang/test/Sema/integer-overflow.c
parent7bc507a2e816d6950c1337a59ae0dbb59be1c5e8 (diff)
downloadllvm-634339ab402f6aa430c688f5159c770b5b6f2a61.zip
llvm-634339ab402f6aa430c688f5159c770b5b6f2a61.tar.gz
llvm-634339ab402f6aa430c688f5159c770b5b6f2a61.tar.bz2
[AVR] Fix a bug where the frame pointer is clobbered
Because it was a callee-saved register, we automatically generated code to spill and unspill its original value so that it is restored after the function returns. The problem is that this code was being generated before the epilogue. The epilogue itself uses the Y register, which could be prematurely restored by the CSR restoration process. This removes R29R28 from the CSR list and changes the prologue/epilogue code to handle it explicitly. llvm-svn: 301887
Diffstat (limited to 'clang/test/Sema/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions