diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-06-23 23:14:51 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-06-23 23:14:51 +0000 |
commit | 68a5ef1a63fdf9f2b15bd3dc98a40b19eb05d56a (patch) | |
tree | a7fd5522ba7e85c4bebc140e63f322cd21816f00 /llvm/unittests/Support | |
parent | 9ea8efaf92570d708494ea352d3e5c21f0fe0ea7 (diff) | |
download | bcm5719-llvm-68a5ef1a63fdf9f2b15bd3dc98a40b19eb05d56a.tar.gz bcm5719-llvm-68a5ef1a63fdf9f2b15bd3dc98a40b19eb05d56a.zip |
Support: Return scale from ScaledNumbers::matchScales()
This will be convenient when extracting `ScaledNumbers::getSum()`.
llvm-svn: 211552
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r-- | llvm/unittests/Support/ScaledNumberTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ScaledNumberTest.cpp b/llvm/unittests/Support/ScaledNumberTest.cpp index 550947b8ea3..08d6c68b0e0 100644 --- a/llvm/unittests/Support/ScaledNumberTest.cpp +++ b/llvm/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) \ |