diff options
author | yingopq <115543042+yingopq@users.noreply.github.com> | 2024-09-13 00:05:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 00:05:54 +0800 |
commit | 1ad84d7961ec3ddab9233370066110ecaa5eb329 (patch) | |
tree | 631c79208c2dcff2d680eeb21ad6457391170bc5 /flang/lib/Parser/preprocessor.cpp | |
parent | 73535076f2c517fd04c43cccab4c47bd38b39d49 (diff) | |
download | llvm-1ad84d7961ec3ddab9233370066110ecaa5eb329.zip llvm-1ad84d7961ec3ddab9233370066110ecaa5eb329.tar.gz llvm-1ad84d7961ec3ddab9233370066110ecaa5eb329.tar.bz2 |
[Mips] Optimize `or (and $src1, mask), (shl $src2, shift)` to `ins` (#103017)
Optimize `$dst = or (and $src1, (2**size0 - 1)), (shl $src2, size0)` to
`ins $src1, $src2, pos, size`,
where `pos = size0, size = 32 - pos`.
Fix #90325
Diffstat (limited to 'flang/lib/Parser/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions