mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 12:20:00 +00:00
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:
parent
eafc5cb80d
commit
41045ba731
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user