diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-09-13 11:01:47 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-09-13 11:01:58 +0100 |
commit | 6c56cf71ee82ec3a28e0dfc2b751bd10c16929da (patch) | |
tree | 63503c8c568daf97ed73f6a6255343a0edaaff86 /clang/lib/CodeGen/CodeGenModule.h | |
parent | f8b2544c422404b0c8d1225d9240301f50de1cdb (diff) | |
download | llvm-6c56cf71ee82ec3a28e0dfc2b751bd10c16929da.zip llvm-6c56cf71ee82ec3a28e0dfc2b751bd10c16929da.tar.gz llvm-6c56cf71ee82ec3a28e0dfc2b751bd10c16929da.tar.bz2 |
[DAG] FoldSetCC - add missing icmp(X,undef) -> isTrueWhenEqual case
Followup to D59363 which failed to handle the icmp(X,undef) -> isTrueWhenEqual case - similar to llvm::ConstantFoldCompareInstruction
As discussed on the review, this is affecting some previously reduced test cases, but will also prevent reductions from relying on this inconsistent behaviour in the future.
Differential Revision: https://reviews.llvm.org/D158068
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions