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
This commit is contained in:
Jim Grosbach 2010-10-14 00:12:49 +00:00
parent eafc5cb80d
commit 41045ba731

View File

@ -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");