diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2023-03-01 15:20:55 -0800 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2023-03-01 15:21:11 -0800 |
commit | 9cec2b246e719533723562950e56c292fe5dd5ad (patch) | |
tree | 501c67bbb8cf45cde7976eb3035c580f128c55fd /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | b8f9ec6db77353fbcb2384fa60e4ca9a6d4e3245 (diff) | |
download | llvm-9cec2b246e719533723562950e56c292fe5dd5ad.zip llvm-9cec2b246e719533723562950e56c292fe5dd5ad.tar.gz llvm-9cec2b246e719533723562950e56c292fe5dd5ad.tar.bz2 |
[RegAllocFast] insert additional spills along indirect edges of INLINEASM_BR
When generating spills (stores) for values produced by INLINEASM_BR
instructions, make sure to insert one spill per indirect target.
Otherwise the reload generated may load from a stack slot that has not
yet been stored to (resulting in a load of an uninitialized stack slot).
Link: https://github.com/llvm/llvm-project/issues/53562
Fixes: https://github.com/llvm/llvm-project/issues/60855
Reviewed By: MatzeB
Differential Revision: https://reviews.llvm.org/D144907
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions