[X86] Avoid icmp undef in reduced tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 13 Mar 2019 18:36:59 +0000 (18:36 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 13 Mar 2019 18:36:59 +0000 (18:36 +0000)
commite1be3403ff823cc6df11bb68849cb7bcb8a6a9e0
tree6cd2ae81cd89fff5812c1935cc523df7aad5833d
parentfcc53eedab6ce6b51beb2046b46e3d6b79c113f9
[X86] Avoid icmp undef in reduced tests

Because we don't currently simplify icmp with undef in DAG, bugpoint loves to introduce them during reduction.

This is a small step towards re-adding non-undef values into some of the simpler tests so that they should still test correctly and emit similar/same codegen.

Prep work for PR40800 ([SelectionDAG] Add UNDEF handling to SelectionDAG::FoldSetCC).

llvm-svn: 356076
13 files changed:
llvm/test/CodeGen/X86/2010-02-23-DAGCombineBug.ll
llvm/test/CodeGen/X86/combine-pmuldq.ll
llvm/test/CodeGen/X86/copy-eflags.ll
llvm/test/CodeGen/X86/machine-trace-metrics-crash.ll
llvm/test/CodeGen/X86/pr22338.ll
llvm/test/CodeGen/X86/pr31271.ll
llvm/test/CodeGen/X86/pr32588.ll
llvm/test/CodeGen/X86/pr32610.ll
llvm/test/CodeGen/X86/pr33828.ll
llvm/test/CodeGen/X86/pr38539.ll
llvm/test/CodeGen/X86/pr38743.ll
llvm/test/CodeGen/X86/sext-i1.ll
llvm/test/CodeGen/X86/trunc-store.ll