llvm-project/llvm/test/CodeGen/ARM/Windows
Saleem Abdulrasool dd8c16b58e ARM: mark CPSR as clobbered for Windows VLAs
When lowering a VLA, we emit a __chstk call.  However, this call can
internally clobber CPSR.  We did not mark this register as an ImpDef,
which could potentially allow a comparison to be hoisted above the call
to `__chkstk`.  In such a case, the CPSR could be clobbered, and the
check invalidated.  When the support was initially added, it seemed that
the call would take care of preventing CPSR from being clobbered, but
this is not the case.  Mark the register as clobbered to fix a possible
state corruption.

llvm-svn: 311061
2017-08-17 02:42:24 +00:00
..
aapcs.ll
alloca.ll
builtin_longjmp.ll
chkstk-movw-movt-isel.ll [ARM] Make -mcpu=generic schedule for an in-order core (Cortex-A8). 2017-06-28 07:07:03 +00:00
chkstk.ll
dbzchk.ll CodeGen: further loosen -O0 CG for WoA division 2016-10-31 22:12:37 +00:00
division-range.ll CodeGen: further loosen -O0 CG for WoA division 2016-10-31 22:12:37 +00:00
division.ll CodeGen: further loosen -O0 CG for WoA division 2016-10-31 22:12:37 +00:00
dllexport.ll
dllimport.ll
frame-register.ll
global-minsize.ll
hard-float.ll
if-cvt-bundle.ll
libcalls.ll
long-calls.ll Correct PrivateLinkage for COFF 2016-10-13 00:55:24 +00:00
mangling.ll
memset.ll
mov32t-bundling.ll
movw-movt-relocations.ll
no-aeabi.ll
no-eabi.ll
no-ehabi.ll
no-frame-register.ll
pic.ll
powi.ll ARM: lower fpowi appropriately for Windows ARM 2016-11-06 19:46:54 +00:00
read-only-data.ll
stack-probe-non-default.ll
structors.ll
tls.ll [ARM] Make -mcpu=generic schedule for an in-order core (Cortex-A8). 2017-06-28 07:07:03 +00:00
trivial-gnu-object.ll
vla-cpsr.ll ARM: mark CPSR as clobbered for Windows VLAs 2017-08-17 02:42:24 +00:00
vla.ll
wineh-basic.ll [GlobalMerge] Handle non-landingpad EH pads 2016-10-19 19:56:22 +00:00