summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/thread/TestThreadAPI.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-11-03 09:33:06 -0800
committerCraig Topper <craig.topper@sifive.com>2020-11-03 10:04:52 -0800
commit00eff96e1d02969ff1c1416a266b4d29506cd1c0 (patch)
tree702521b7ecf118b9d9173d3c350a6d6d8e745ff8 /lldb/test/API/python_api/thread/TestThreadAPI.py
parentcb798f040a768dbd1fc918fe581088b2fe7932bf (diff)
[RISCV] Add missing patterns for rotr with immediate for Zbb/Zbp extensions.
DAGCombine doesn't canonicalize rotl/rotr with immediate so we need patterns for both. Remove the custom matcher for rotl to RORI and just use a SDNodeXForm to convert the immediate instead. Doing this gives priority to the rev32/rev16 versions of grevi over rori since an explicit immediate is more precise than any immediate. I also added rotr patterns for rev32/rev16. And removed the (or (shl), (shr)) patterns that should be combined to rotl by DAG combine. There is at least one other grev pattern that probably needs a another rotr pattern, but we need more test coverage first. Differential Revision: https://reviews.llvm.org/D90575
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions