diff options
author | Philip Reames <preames@rivosinc.com> | 2025-10-01 14:00:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:00:28 -0700 |
commit | b389adf56a1610cbdf0aa0a7b0b70b2c6b049f83 (patch) | |
tree | e7cb09036874dd2aa6e152cf9f76b72bdc1de7ad /llvm/unittests/MC/StringTableBuilderTest.cpp | |
parent | c4788bff8266497aafd526f887722982127a2e11 (diff) | |
download | llvm-b389adf56a1610cbdf0aa0a7b0b70b2c6b049f83.zip llvm-b389adf56a1610cbdf0aa0a7b0b70b2c6b049f83.tar.gz llvm-b389adf56a1610cbdf0aa0a7b0b70b2c6b049f83.tar.bz2 |
[RISCV] Allow non-canonicalized splats in isProfitableToSinkOperands (#161586)
This isn't an optimization change - IR transforms should have remove the
operands and replaced them with poison. However, I noticed the
non-canonical splat structure in a couple of llvm-reduce outputs. This
results in us creating extremely atypical IR which is quite misleading
about the true cause of what's going on. (Because the non-canonical
splat doesn't get sunk, we then prone whatever was actually holding it
outside the loop in the original example, eliminating insight as to the
true cause of whatever issue we're debugging.)
Diffstat (limited to 'llvm/unittests/MC/StringTableBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions