summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
diff options
context:
space:
mode:
authorMingming Liu <mingmingl@google.com>2022-11-08 22:46:42 -0800
committerMingming Liu <mingmingl@google.com>2022-11-11 14:01:02 -0800
commit0f9ef8b18055c9f7ca534fab24f74266331ec3e5 (patch)
treeba4fbc2b15b9a6d41bea0b8bcf0540e3c621eca9 /lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
parent3acbaddd43d8340257ad79a3514865c9758612c2 (diff)
[AArch64] Select BFI/BFXIL to ORR with shifted operand when one operand is the left or right shift of another operand
Use right shift [1] as an example - Before, bfxil is generated (https://godbolt.org/z/EfzWMszPn) - After, orr with right-shifted operand is generated (added test cases in `CodeGen/AArch64/bitfield-insert.ll`) [1] ``` define i64 @test_orr_not_bfxil_i64(i64 %0) { %2 = and i64 %0, 1044480 ; 0xff000 %3 = lshr i64 %2, 12 %4 = or i64 %2, %3 ret i64 %4 } ``` Differential Revision: https://reviews.llvm.org/D137689
Diffstat (limited to 'lldb/test/API/python_api/function_symbol/TestSymbolAPI.py')
0 files changed, 0 insertions, 0 deletions