From 3dcfef631069d80f465f791169d5c07f87c40876 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 17 Apr 2006 05:05:52 +0000 Subject: [PATCH] Really, I can count! llvm-svn: 27743 --- llvm/utils/PerfectShuffle/PerfectShuffle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp index c2c5bfcd8c84..c2abe9b6116f 100644 --- a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp +++ b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp @@ -391,7 +391,7 @@ int main() { // Encode this as 2 bits of saturated cost, 4 bits of opcodes, 13 bits of // LHS, and 13 bits of RHS = 32 bits. - unsigned Val = (CostSat << 30) | (OpNum << 27) | (LHS << 13) | RHS; + unsigned Val = (CostSat << 30) | (OpNum << 26) | (LHS << 13) | RHS; std::cout << " " << Val << "U,\t// "; PrintMask(i, std::cout); -- GitLab