[PATCH] D77357: [PowerPC][UpdateTestChecks] Remove the extra # when scrubbing loop comments

Zhang Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 20:04:31 PDT 2020


ZhangKang added a comment.

The case PR35812-neg-cmpxchg.ll is modified.
For below assembly:

  .LBB0_1: # %L.entry
    # =>This Inner Loop Header: Depth=1
    lharx 3, 0, 5
    cmpw 4, 3
    bne 0, .LBB0_3

The patch D63957 <https://reviews.llvm.org/D63957> will conserve the space: ` # =>This Inner Loop Header: Depth=1` will be replaced as ` #`,
My patch match the `[ \t]*`, so the space will be removed and left only a `#`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77357/new/

https://reviews.llvm.org/D77357





More information about the llvm-commits mailing list