aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-30 21:11:17 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-30 21:11:17 +0000
commit0de6832c16ce48f6546c74f6b17e27d149eebfb2 (patch)
tree2492e75a6f596e9629cc7f9fd768ada080aac4d1 /unittests
parent36850ad779cb77930ab9e03bc1bde4ad47dc9dce (diff)
downloadexternal_llvm-0de6832c16ce48f6546c74f6b17e27d149eebfb2.zip
external_llvm-0de6832c16ce48f6546c74f6b17e27d149eebfb2.tar.gz
external_llvm-0de6832c16ce48f6546c74f6b17e27d149eebfb2.tar.bz2
Remove isCastable since nothing uses it now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/IR/InstructionsTest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/unittests/IR/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp
index 34d662d..8f4f194 100644
--- a/unittests/IR/InstructionsTest.cpp
+++ b/unittests/IR/InstructionsTest.cpp
@@ -149,11 +149,6 @@ TEST(InstructionsTest, CastInst) {
const Constant* c8 = Constant::getNullValue(V8x8Ty);
const Constant* c64 = Constant::getNullValue(V8x64Ty);
- EXPECT_TRUE(CastInst::isCastable(V8x8Ty, X86MMXTy));
- EXPECT_TRUE(CastInst::isCastable(X86MMXTy, V8x8Ty));
- EXPECT_FALSE(CastInst::isCastable(Int64Ty, X86MMXTy));
- EXPECT_TRUE(CastInst::isCastable(V8x64Ty, V8x8Ty));
- EXPECT_TRUE(CastInst::isCastable(V8x8Ty, V8x64Ty));
EXPECT_EQ(CastInst::Trunc, CastInst::getCastOpcode(c64, true, V8x8Ty, true));
EXPECT_EQ(CastInst::SExt, CastInst::getCastOpcode(c8, true, V8x64Ty, true));