diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-06-26 07:42:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 07:42:55 +0900 |
commit | 472c9141f9d0970a89e18ab5cb61a4f4078b9945 (patch) | |
tree | f91e0f631a63fe94f19853a8b1959023f359601d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7381d816f31c2c2c46653c58220a88f632768b5e (diff) | |
download | llvm-472c9141f9d0970a89e18ab5cb61a4f4078b9945.zip llvm-472c9141f9d0970a89e18ab5cb61a4f4078b9945.tar.gz llvm-472c9141f9d0970a89e18ab5cb61a4f4078b9945.tar.bz2 |
AMDGPU: Fix tracking subreg defs when folding through reg_sequence (#140608)
We weren't fully respecting the type of a def of an immediate vs.
the type at the use point. Refactor the folding logic to track the
value to fold, as well as a subregister to apply to the underlying
value. This is similar to how PeepholeOpt tracks subregisters (though
only for pure copy-like instructions, no constants).
Fixes #139317
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions