diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-03-15 11:36:00 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-03-15 11:54:13 +0000 |
commit | c1f81e7604457fa0b6c8bc03745c41d511106040 (patch) | |
tree | a13b9ade1dd41ce48f1af65467ab76eb5ca1eb1d /clang/unittests/libclang/LibclangTest.cpp | |
parent | 7501e53b8d6d7563b047a34d0141630d5afc86c5 (diff) | |
download | llvm-c1f81e7604457fa0b6c8bc03745c41d511106040.zip llvm-c1f81e7604457fa0b6c8bc03745c41d511106040.tar.gz llvm-c1f81e7604457fa0b6c8bc03745c41d511106040.tar.bz2 |
[DAG] mergeStore - peek through truncates when finding dead store(trunc(load())) patterns
Extend the existing store(load()) removal code to account for intermediate truncates that some targets won't remove with canCombineTruncStore - we only care about the load/store MemoryVT.
Fixes regression from D146121
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions