diff options
author | Simon Pilgrim <RKSimon@users.noreply.github.com> | 2024-01-08 18:01:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 18:01:41 +0000 |
commit | d460c1de3b989cea919b9d60c21644f28f987950 (patch) | |
tree | 18e7fed4f9add3650ae2b4e6167e517eb9e5040c /clang/lib/Lex/ModuleMap.cpp | |
parent | 5351ded68d579921a61b26a34e36046c22f668bd (diff) | |
download | llvm-d460c1de3b989cea919b9d60c21644f28f987950.zip llvm-d460c1de3b989cea919b9d60c21644f28f987950.tar.gz llvm-d460c1de3b989cea919b9d60c21644f28f987950.tar.bz2 |
[DAG] SimplifyDemandedBits - don't fold sext(x) -> aext(x) if we lose an 0/-1 allsignbits mask (#77296)
For targets that use 0/-1 boolean results, we want to keep this pattern through extensions/truncations as much as possible - so avoid simplifying to any_extend even if we don't demand the upper bits.
Noticed in triage for https://reviews.llvm.org/D152928
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions