While testing dragonegg I noticed that isCastable and getCastOpcode
authorDuncan Sands <baldrick@free.fr>
Fri, 1 Apr 2011 03:34:54 +0000 (03:34 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 1 Apr 2011 03:34:54 +0000 (03:34 +0000)
commit607946533d4eb781713b363605c4a241503dbe0e
treede13d8bf26bcf858154d4ef7bbc09194eec732f0
parent234823297e0fc0babddd2ab84054bf68f64a54d1
While testing dragonegg I noticed that isCastable and getCastOpcode
had gotten out of sync: isCastable didn't think it was possible to
cast the x86_mmx type to anything, while it did think it possible
to cast an i64 to x86_mmx.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instructions.cpp
unittests/VMCore/InstructionsTest.cpp