[llvm-commits] CVS: llvm/include/llvm/Instructions.h

Jeff Cohen jeffc at jolt-lang.org
Sat Apr 21 07:42:30 PDT 2007


Jeff Cohen wrote:
> Changes in directory llvm/include/llvm:
>
> Instructions.h updated: 1.67 -> 1.68
> ---
> Log message:
>
> The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what
> was intended!  | has higher precedence than ?.  Caught by Visual Studio.
>   

Unfortunately, this wasn't the cause of the failures.  It didn't fix a 
single one.  They look like this:

FAIL: /usr/home/jeffc/llvm/test/CodeGen/X86/vec_zero.ll: exit(1) at line 1
while running: llvm-upgrade < 
/usr/home/jeffc/llvm/test/CodeGen/X86/vec_zero.ll | llvm-as | llc 
-march=x86 -mattr=+sse2 | grep xorps | wc -l | grep 2
Assertion failed: (0 && "ValueType does not correspond to LLVM type!"), 
function getTypeForValueType, file 
/usr/home/jeffc/llvm/lib/VMCore/ValueTypes.cpp, line 91.






More information about the llvm-commits mailing list