diff options
author | Jessica Paquette <jpaquette@apple.com> | 2020-06-15 12:16:33 -0700 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2020-06-15 16:34:25 -0700 |
commit | 5a4c3f6b06f6f4045a4c18f41082561ddebc6775 (patch) | |
tree | be1e2626107cf953ce1bc1461d139fcb19aee0c3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | c8d0aaa7ffd535ae6c90f5603f46370d652c4c46 (diff) | |
download | llvm-5a4c3f6b06f6f4045a4c18f41082561ddebc6775.zip llvm-5a4c3f6b06f6f4045a4c18f41082561ddebc6775.tar.gz llvm-5a4c3f6b06f6f4045a4c18f41082561ddebc6775.tar.bz2 |
[GlobalISel] Look through extends etc in CombinerHelper::matchConstantOp
It's possible to end up with a zext or something in the way of a G_CONSTANT,
even pre-legalization. This can happen with memsets.
e.g.
https://godbolt.org/z/Bjc8cw
To make sure we can catch these cases, use `getConstantVRegValWithLookThrough`
instead of `mi_match`.
Differential Revision: https://reviews.llvm.org/D81875
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions