diff options
author | Himadhith <79003240+Himadhith@users.noreply.github.com> | 2025-09-27 09:22:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-27 09:22:58 +0530 |
commit | 0e72c3da2aa9e6a8da8b1fb4c91f651293ed8f54 (patch) | |
tree | ea5b0afaef6689364681bfdb0b4fc97841923df5 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 7ff6973f1ae91985bb6b5faa8658e81dbaadbd25 (diff) | |
download | llvm-0e72c3da2aa9e6a8da8b1fb4c91f651293ed8f54.zip llvm-0e72c3da2aa9e6a8da8b1fb4c91f651293ed8f54.tar.gz llvm-0e72c3da2aa9e6a8da8b1fb4c91f651293ed8f54.tar.bz2 |
[NFC] Lockdown instructions of vspltisw for addition of vector of 1s (#160476)
This NFC patch looks to lock down the instruction generated for the
operation of `A + vector {1, 1, 1, 1}` in which the current code emits
`vspltisw`.
It can be made better with the use of a `2 cycle` instruction `xxleqv`
over the current `4 cycle vspltisw`.
---------
Co-authored-by: himadhith <himadhith.v@ibm.com>
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions