diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-10-14 00:12:49 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-10-14 00:12:49 +0000 |
commit | 41045ba731f37fb6bef980cdc63b0a8538b6c8ca (patch) | |
tree | dbc6b29c087e32fe4edd2c3529f03997b2e174d0 /utils/PerfectShuffle | |
parent | eafc5cb80d58cb9447623a557be4d4f55f42fbc3 (diff) | |
download | external_llvm-41045ba731f37fb6bef980cdc63b0a8538b6c8ca.zip external_llvm-41045ba731f37fb6bef980cdc63b0a8538b6c8ca.tar.gz external_llvm-41045ba731f37fb6bef980cdc63b0a8538b6c8ca.tar.bz2 |
Teach PerfectShuffle to not generate files with embedded tab characters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116458 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/PerfectShuffle')
-rw-r--r-- | utils/PerfectShuffle/PerfectShuffle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp index b94a7d3..98f8f4c 100644 --- a/utils/PerfectShuffle/PerfectShuffle.cpp +++ b/utils/PerfectShuffle/PerfectShuffle.cpp @@ -15,6 +15,7 @@ //===----------------------------------------------------------------------===// #include <iostream> +#include <iomanip> #include <vector> #include <cassert> #include <cstdlib> @@ -400,7 +401,7 @@ int main() { // LHS, and 13 bits of RHS = 32 bits. unsigned Val = (CostSat << 30) | (OpNum << 26) | (LHS << 13) | RHS; - std::cout << " " << Val << "U,\t// "; + std::cout << " " << std::setw(10) << Val << "U, // "; PrintMask(i, std::cout); std::cout << ": Cost " << ShufTab[i].Cost; std::cout << " " << (ShufTab[i].Op ? ShufTab[i].Op->getName() : "copy"); |