projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9454156
)
Remove the newline from the mlir-opt 'split-input-file' flag marker. This fixes...
author
River Riddle
<riverriddle@google.com>
Fri, 31 May 2019 16:27:52 +0000
(09:27 -0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Sun, 2 Jun 2019 03:12:11 +0000
(20:12 -0700)
--
PiperOrigin-RevId:
250899420
mlir/tools/mlir-opt/mlir-opt.cpp
patch
|
blob
|
history
diff --git
a/mlir/tools/mlir-opt/mlir-opt.cpp
b/mlir/tools/mlir-opt/mlir-opt.cpp
index
7b6e917
..
a27d2d0
100644
(file)
--- a/
mlir/tools/mlir-opt/mlir-opt.cpp
+++ b/
mlir/tools/mlir-opt/mlir-opt.cpp
@@
-144,7
+144,7
@@
static OptResult processFile(std::unique_ptr<MemoryBuffer> ownedBuffer) {
/// single test, but could be used for other purposes as well.
static OptResult
splitAndProcessFile(std::unique_ptr<MemoryBuffer> originalBuffer) {
- const char marker[] = "// -----
\n
";
+ const char marker[] = "// -----";
auto *origMemBuffer = originalBuffer.get();
SmallVector<StringRef, 8> sourceBuffers;
origMemBuffer->getBuffer().split(sourceBuffers, marker);