Revert revision: 171467. This transformation is incorrect and makes some tests fail...
authorNadav Rotem <nrotem@apple.com>
Fri, 4 Jan 2013 17:35:21 +0000 (17:35 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 4 Jan 2013 17:35:21 +0000 (17:35 +0000)
commite12bf1875481b02d07b6ce9c153ec3410068e234
treeea17d8c621bb8b8db7be149f60d12821d395874e
parentab7032090871abf6aeed86b2c4b836e97771d234
Revert revision: 171467. This transformation is incorrect and makes some tests fail. Original message:

Simplified TRUNCATE operation that comes after SETCC. It is possible since SETCC result is 0 or -1.
Added a test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-trunc.ll