[llvm] 551acdb - Make it possible to run MIRCanonicalizer in pipeline.

Aditya Nandakumar via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 16 14:34:40 PST 2019


Author: Aditya Nandakumar
Date: 2019-11-16T14:34:04-08:00
New Revision: 551acdbf937a50fbcd4ed4e3bb75e55bacd41994

URL: https://github.com/llvm/llvm-project/commit/551acdbf937a50fbcd4ed4e3bb75e55bacd41994
DIFF: https://github.com/llvm/llvm-project/commit/551acdbf937a50fbcd4ed4e3bb75e55bacd41994.diff

LOG: Make it possible to run MIRCanonicalizer in pipeline.

https://reviews.llvm.org/D70321

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/Passes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h
index 5915cb3b2c73..c21414760ce9 100644
--- a/llvm/include/llvm/CodeGen/Passes.h
+++ b/llvm/include/llvm/CodeGen/Passes.h
@@ -275,6 +275,11 @@ namespace llvm {
   /// MachineCSE - This pass performs global CSE on machine instructions.
   extern char &MachineCSEID;
 
+  /// MIRCanonicalizer - This pass canonicalizes MIR by renaming vregs
+  /// according to the semantics of the instruction as well as hoists
+  /// code.
+  extern char &MIRCanonicalizerID;
+
   /// ImplicitNullChecks - This pass folds null pointer checks into nearby
   /// memory operations.
   extern char &ImplicitNullChecksID;


        


More information about the llvm-commits mailing list