diff options
author | Maksim Shelegov <maksim.shelegov@intel.com> | 2025-08-05 02:06:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 17:06:34 -0700 |
commit | 862fb42b065dd01584f219994bc791f9d0a4c9b8 (patch) | |
tree | 9345f5e81986c63f66e85607a3d825feeb3e983a /mlir/unittests/Bytecode/BytecodeTest.cpp | |
parent | 04691aae0dd783162919c85aef5b8b143c0ca411 (diff) | |
download | llvm-862fb42b065dd01584f219994bc791f9d0a4c9b8.zip llvm-862fb42b065dd01584f219994bc791f9d0a4c9b8.tar.gz llvm-862fb42b065dd01584f219994bc791f9d0a4c9b8.tar.bz2 |
[AMDGPU][GlobalISel] Fix G_UNMERGE_VALUES combine (#141812)
Fixes #139791.
When trying to combine two G_UNMERGE_VALUES with a COPY between them,
a crash occurs in tryCombineUnmergeValues() because getDefIndex() tries
to find the index of the original source register in the def found by
getDefIgnoringCopies(). In the case of a COPY in between, this register
is not present in the def, only in the COPY.
Diffstat (limited to 'mlir/unittests/Bytecode/BytecodeTest.cpp')
0 files changed, 0 insertions, 0 deletions