Go to file
Quentin Colombet b4d53f1afa [X86] Fix a bug in the lowering of BLENDI introduced in r209043.
ISD::VSELECT mask uses 1 to identify the first argument and 0 to identify the
second argument.
On the other hand, BLENDI uses 0 to identify the first argument and 1 to
identify the second argument.
Fix the generation of the blend mask to account for this difference.

The bug did not show up with r209043, because we were not checking for the
actual arguments of the blend instruction!
This commit also fixes the test cases.

Note: The same mask works for the BLENDr variant because the arguments are
swapped during instruction selection (see the BLENDXXrr patterns).

<rdar://problem/16975435>

llvm-svn: 209324
2014-05-21 22:00:39 +00:00
clang Provide an aka for the C++ operator name macro diagnostic 2014-05-21 21:23:39 +00:00
clang-tools-extra Fix clang-query on Windows: flush llvm::outs() after each command. 2014-05-21 18:10:47 +00:00
compiler-rt [sanitizer] Attempt to fix test. 2014-05-21 14:36:05 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Fix build broken by LLVM commit r207593 2014-04-30 18:35:20 +00:00
libcxx Fix Bug 19678 - libc++ does not correctly handle the regex: '[^\0]*' 2014-05-21 16:29:50 +00:00
libcxxabi Fix typo in comment. 2014-05-14 17:16:57 +00:00
lld [PECOFF] Fix unsafe memory access. 2014-05-21 21:51:11 +00:00
lldb Added tests for q{f,s}ThreadInfo for attached processes. 2014-05-21 20:12:01 +00:00
llvm [X86] Fix a bug in the lowering of BLENDI introduced in r209043. 2014-05-21 22:00:39 +00:00
openmp Add testsuite from OpenUH 2014-05-10 17:02:09 +00:00
polly polly: update for LLVM API change 2014-05-19 03:55:49 +00:00