[PATCH] D158068: [DAG] FoldSetCC - add missing icmp(X,undef) -> isTrueWhenEqual case
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 04:28:03 PDT 2023
RKSimon added a subscriber: amyk.
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/p10-spill-crgt.ll:423
%tmp12 = icmp eq i32 %tmp11, 512
switch i32 undef, label %bb13 [
i32 117, label %bb62
----------------
nikic wrote:
> Don't switch on undef...
@amyk This is the original test case from D87705 - can you recall the background to why these tests use switch on undef?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158068/new/
https://reviews.llvm.org/D158068
More information about the llvm-commits
mailing list