diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-27 21:53:04 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-27 21:53:04 +0000 |
commit | 8c39d016705e04be7dcfddae8997a36fcd0ee30d (patch) | |
tree | 23e90dfe83050aff6cf758a5a33a064209816680 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | 0b1b3c6068dfacd267dded0395ef1fa262cb3f8c (diff) | |
download | bcm5719-llvm-8c39d016705e04be7dcfddae8997a36fcd0ee30d.tar.gz bcm5719-llvm-8c39d016705e04be7dcfddae8997a36fcd0ee30d.zip |
[PatternMatch] Add m_SExtOrSelf(), m_ZExtOrSExtOrSelf() matchers + unittests
m_SExtOrSelf() is for consistency.
m_ZExtOrSExtOrSelf() is motivated by the D68103/r373106 :
sometimes it is useful to look past any extensions of the shift amount,
and m_ZExtOrSExtOrSelf() may be exactly the tool to do that.
llvm-svn: 373128
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions