From 465f06cfa660f36a930380207d47d22937effaaf Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Mon, 23 Jun 2014 23:14:51 +0000 Subject: Support: Return scale from ScaledNumbers::matchScales() This will be convenient when extracting `ScaledNumbers::getSum()`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211552 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/ScaledNumberTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests') diff --git a/unittests/Support/ScaledNumberTest.cpp b/unittests/Support/ScaledNumberTest.cpp index 550947b8ea..08d6c68b0e 100644 --- a/unittests/Support/ScaledNumberTest.cpp +++ b/unittests/Support/ScaledNumberTest.cpp @@ -336,7 +336,7 @@ TEST(ScaledNumberHelpersTest, matchScales) { int16_t RSx = RSIn; \ int16_t Sy = SOut; \ \ - matchScales(LDx, LSx, RDx, RSx); \ + EXPECT_EQ(SOut, matchScales(LDx, LSx, RDx, RSx)); \ EXPECT_EQ(LDy, LDx); \ EXPECT_EQ(RDy, RDx); \ if (LDy) \ -- cgit v1.2.3