[all-commits] [llvm/llvm-project] 8633ef: [PowerPC][UpdateTestChecks] Remove the extra # whe...

zhangkangcool via All-commits all-commits at lists.llvm.org
Thu Apr 9 23:11:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8633ef0f4331b62618deafffd591b7e97eebd096
      https://github.com/llvm/llvm-project/commit/8633ef0f4331b62618deafffd591b7e97eebd096
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/atomics-regression.ll
    M llvm/test/CodeGen/PowerPC/loop-comment.ll
    M llvm/utils/UpdateTestChecks/asm.py
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [PowerPC][UpdateTestChecks] Remove the extra # when scrubbing loop comments

Summary:
The patch D63957 is to avoid empty string when scrubbing loop comments,
it will replace loop comments to a `#`, that's correct.
But if the line has something else not only loop comments, we will get
a extra `#`.
The patch is to remove the extra `#`.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D77357




More information about the All-commits mailing list