diff options
author | ZhaoQi <zhaoqi01@loongson.cn> | 2025-09-28 17:19:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-28 17:19:36 +0800 |
commit | 0df525bc56651ec5a7cf76cee5bd4127e9df7cf7 (patch) | |
tree | fa4cb45ee240822b99a39ed93efa18ae1bd28dbf /llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp | |
parent | 0fc6213aee05b07e670bee5a25a31119c563227e (diff) | |
download | llvm-0df525bc56651ec5a7cf76cee5bd4127e9df7cf7.zip llvm-0df525bc56651ec5a7cf76cee5bd4127e9df7cf7.tar.gz llvm-0df525bc56651ec5a7cf76cee5bd4127e9df7cf7.tar.bz2 |
[LoongArch] Add patterns to support `[x]vadda.{b/h/w/d}` generation (#160674)
This commit add patterns for lsx and lasx to support generating
`[x]vadda.{b/h/w/d}` instructions.
Note: For convenience, this commit also set `ISD::ABS` as legal. As
shown in the tests, this brings no change to the results, just same as
the results obtained from expanding it before. But, setting it as legal
brings more vectorization opportunities to IR transformation which may
bring more vector optimization chances for later stages and the backend.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions