[PATCH] D20585: [NVPTX] Don't (incorrectly) say that the NVVMReflect pass preserves all analyses.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 11:39:36 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: llvm-commits.
Herald added a subscriber: jholewinski.

http://reviews.llvm.org/D20585

Files:
  lib/Target/NVPTX/NVVMReflect.cpp

Index: lib/Target/NVPTX/NVVMReflect.cpp
===================================================================
--- lib/Target/NVPTX/NVVMReflect.cpp
+++ lib/Target/NVPTX/NVVMReflect.cpp
@@ -62,9 +62,6 @@
     setVarMap();
   }
 
-  void getAnalysisUsage(AnalysisUsage &AU) const override {
-    AU.setPreservesAll();
-  }
   bool runOnFunction(Function &) override;
 
 private:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20585.58280.patch
Type: text/x-patch
Size: 374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160524/5a90177e/attachment.bin>


More information about the llvm-commits mailing list