[PATCH] D66604: [GVN] AnalyzeLoadAvailability: Replace a load after lifetime.end with undef (PR20811)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 09:16:34 PDT 2019


xbolva00 added inline comments.


================
Comment at: llvm/test/Transforms/GVN/lifetime-end-store.ll:3
+
+define i8 @test(i8* %P) nounwind {
+; CHECK: lifetime.end
----------------
You can move this test to lifetime-end.ll as “test2”.


================
Comment at: llvm/test/Transforms/GVN/lifetime-end.ll:1
+; RUN: opt < %s -basicaa -gvn -S | FileCheck %s
+
----------------
You can use llvm/utils/update_test_checks.py to generate CHECK lines for you - much better solution than hand-written check lines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66604





More information about the llvm-commits mailing list