aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-07-04 20:54:43 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-07-04 20:54:43 +0100
commite975ff0a223e79842b693e0ec4d3cac87963869a (patch)
tree43eabcd579bac54bb762c969c33d264fe80d702e /llvm/lib/Support/CommandLine.cpp
parent8270485af12516c159c4a2c6533fa9b149bdc63a (diff)
downloadllvm-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