diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-07-04 20:54:43 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-07-04 20:54:43 +0100 |
commit | e975ff0a223e79842b693e0ec4d3cac87963869a (patch) | |
tree | 43eabcd579bac54bb762c969c33d264fe80d702e /llvm/lib/Support/CommandLine.cpp | |
parent | 8270485af12516c159c4a2c6533fa9b149bdc63a (diff) | |
download | llvm-e975ff0a223e79842b693e0ec4d3cac87963869a.zip llvm-e975ff0a223e79842b693e0ec4d3cac87963869a.tar.gz llvm-e975ff0a223e79842b693e0ec4d3cac87963869a.tar.bz2 |
[X86] matchAddressRecursively - don't fold zext(shl(x,c)) -> shl(zext(x),c)) if the pattern has multiple uses
Fixes #97533 crash where we hit a case where the root node had referenced the original zext node, which we then deleted - hopefully I can come up with a better solution, but the codegen changes don't look too bad atm (pulls out a shift from some complex LEA nodes that shared the scaled index).
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions