[Mlir-commits] [mlir] a6150de - [MLIR] Remove generated spaces at eof for generate-test-checks.py.
Tim Shen
llvmlistbot at llvm.org
Tue Jun 16 11:31:18 PDT 2020
Author: Tim Shen
Date: 2020-06-16T11:28:36-07:00
New Revision: a6150de4473a47500898831fc5c71a4e472f15ea
URL: https://github.com/llvm/llvm-project/commit/a6150de4473a47500898831fc5c71a4e472f15ea
DIFF: https://github.com/llvm/llvm-project/commit/a6150de4473a47500898831fc5c71a4e472f15ea.diff
LOG: [MLIR] Remove generated spaces at eof for generate-test-checks.py.
Added:
Modified:
mlir/utils/generate-test-checks.py
Removed:
################################################################################
diff --git a/mlir/utils/generate-test-checks.py b/mlir/utils/generate-test-checks.py
index e08f64e16475..4b590b279705 100755
--- a/mlir/utils/generate-test-checks.py
+++ b/mlir/utils/generate-test-checks.py
@@ -90,7 +90,7 @@ def process_line(line_chunks, variable_namer):
# Append the non named group.
output_line += chunk[len(ssa_name):]
- return output_line + '\n'
+ return output_line.rstrip() + '\n'
def process_source_lines(source_lines, note, args):
More information about the Mlir-commits
mailing list