[PATCH] D106242: [Inline] Fix noalias addition on simplified instructions (PR50589)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 12:00:47 PDT 2021


nikic added inline comments.


================
Comment at: llvm/test/Transforms/Inline/pr50589.ll:21
 ; CHECK-LABEL: @caller1(
-; CHECK-NEXT:    [[PASSTHRU:%.*]] = load <2 x i8>, <2 x i8>* [[PTR2:%.*]], align 2, !noalias !0
+; CHECK-NEXT:    [[PASSTHRU:%.*]] = load <2 x i8>, <2 x i8>* [[PTR2:%.*]], align 2
 ; CHECK-NEXT:    call void @llvm.experimental.noalias.scope.decl(metadata [[META0:![0-9]+]])
----------------
jeroen.dobbelaere wrote:
> Use '--match-full-lines' to ensure that the `!noalias` metadata is missing ? Or else maybe a `CHECK-NOT: !noalias` might also do the trick.
> 
It looks like `--match-full-lines` isn't compatible with update_test_checks output, so I added an explicit `{{$}}` to these two lines.


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

https://reviews.llvm.org/D106242



More information about the llvm-commits mailing list