OSDN Git Service

[GlobalISel][X86] Fix G_TRUNC instruction selection.
authorIgor Breger <igor.breger@intel.com>
Sun, 21 May 2017 11:13:56 +0000 (11:13 +0000)
committerIgor Breger <igor.breger@intel.com>
Sun, 21 May 2017 11:13:56 +0000 (11:13 +0000)
commita3d265074152853b435174b747fc8741eda446b5
treeab379e2d1e501c8d480fab04ba3eee4b1e2ea21f
parent4d0494d62103c8612cc36df5b89e8543e8f8dd1f
[GlobalISel][X86] Fix G_TRUNC instruction selection.
Updated tests with -verify-machineinstrs flag.
It fixes 3 tests failed with machine verifier enabled and listed
in PR27481

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303502 91177308-0d34-0410-b5e6-96231b3b80d8
27 files changed:
lib/Target/X86/X86InstructionSelector.cpp
test/CodeGen/X86/GlobalISel/add-scalar.ll
test/CodeGen/X86/GlobalISel/add-vec.ll
test/CodeGen/X86/GlobalISel/binop.ll
test/CodeGen/X86/GlobalISel/br.ll
test/CodeGen/X86/GlobalISel/callingconv.ll
test/CodeGen/X86/GlobalISel/cmp.ll
test/CodeGen/X86/GlobalISel/constant.ll
test/CodeGen/X86/GlobalISel/ext-x86-64.ll
test/CodeGen/X86/GlobalISel/ext.ll
test/CodeGen/X86/GlobalISel/frameIndex.ll
test/CodeGen/X86/GlobalISel/gep.ll
test/CodeGen/X86/GlobalISel/memop-scalar-x32.ll
test/CodeGen/X86/GlobalISel/memop-scalar.ll
test/CodeGen/X86/GlobalISel/memop-vec.ll
test/CodeGen/X86/GlobalISel/mul-scalar.ll
test/CodeGen/X86/GlobalISel/mul-vec.ll
test/CodeGen/X86/GlobalISel/select-br.mir
test/CodeGen/X86/GlobalISel/select-cmp.mir
test/CodeGen/X86/GlobalISel/select-constant.mir
test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
test/CodeGen/X86/GlobalISel/select-ext.mir
test/CodeGen/X86/GlobalISel/select-frameIndex.mir
test/CodeGen/X86/GlobalISel/select-gep.mir
test/CodeGen/X86/GlobalISel/select-trunc.mir
test/CodeGen/X86/GlobalISel/sub-vec.ll
test/CodeGen/X86/GlobalISel/trunc.ll