diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-09-16 14:53:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-16 14:53:49 +0900 |
commit | ea9acc97f1fa8b430c74237968d06b2e60b0ccb1 (patch) | |
tree | cfd1029b2e94e9601f44700201b44fb41ed6960e /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 64dba812a3a8fc86b4ddbf34ad5bc5b5329cfca8 (diff) | |
download | llvm-ea9acc97f1fa8b430c74237968d06b2e60b0ccb1.zip llvm-ea9acc97f1fa8b430c74237968d06b2e60b0ccb1.tar.gz llvm-ea9acc97f1fa8b430c74237968d06b2e60b0ccb1.tar.bz2 |
CodeGen: Surface shouldRewriteCopySrc utility function (#158524)
Change shouldRewriteCopySrc to return the common register
class and expose it as a utility function. I've found myself
reproducing essentially the same logic in multiple places. The
purpose of this function is to jsut work through the API constraints
of which combination of register class and subreg indexes you have.
i.e. you need to use a different function if you have 0, 1, or 2
subregister indexes involved in a pair of copy-like operations.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions