OSDN Git Service

[X86] Generate testl instruction through truncates.
authorAmaury Sechet <deadalnix@gmail.com>
Wed, 31 Jan 2018 19:20:06 +0000 (19:20 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Wed, 31 Jan 2018 19:20:06 +0000 (19:20 +0000)
commitb8d2903300c13d8fd151c8e5dc71017269617539
treed4db1e32e0c9a519982062519b566e8df51494ed
parenta0ae1f88fb11a9a4598c83db664d40ce0c170da1
[X86] Generate testl instruction through truncates.

Summary:
This was introduced in D42646 but ended up being reverted because the original implementation was buggy.

Depends on D42646

Reviewers: craig.topper, niravd, spatel, hfinkel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D42741

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323899 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/test-shrink-bug.ll
test/CodeGen/X86/test-shrink.ll