diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-09-25 10:26:36 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-09-25 13:35:17 -0400 |
commit | 6cb0d23f2ea6fb25106b0380797ccbc2141d71e1 (patch) | |
tree | bc0d1cc0b5d2bb8af33b8558e00ffbdebb20a079 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | c1f856803142a113fa094411fa4760512b919ef6 (diff) | |
download | llvm-6cb0d23f2ea6fb25106b0380797ccbc2141d71e1.zip llvm-6cb0d23f2ea6fb25106b0380797ccbc2141d71e1.tar.gz llvm-6cb0d23f2ea6fb25106b0380797ccbc2141d71e1.tar.bz2 |
AArch64/GlobalISel: Narrow stack passed argument access size
This fixes a verifier error in the testcase from bug 47619.
The stack passed s3 value was widened to 4-bytes, and producing a
4-byte memory access with a < 1 byte result type. We need to either
widen the result type or narrow the access size. This copies the code
directly from the AMDGPU handling, which narrows the load size. I
don't like that every target has to handle this, but this is currently
broken on the 11 release branch and this is the simplest fix.
This reverts commit 42bfa7c63b85e76fe16521d1671afcafaf8f64ed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions