summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAditya Nandakumar <aditya_nandakumar@apple.com>2019-11-16 14:14:20 -0800
committerAditya Nandakumar <aditya_nandakumar@apple.com>2019-11-16 14:34:04 -0800
commit551acdbf937a50fbcd4ed4e3bb75e55bacd41994 (patch)
tree3c762337bfef8356f43d61c4f126a7d413ca4f32
parent0068c5913999b14627c27433c8d846a2ef5fbe00 (diff)
downloadbcm5719-llvm-551acdbf937a50fbcd4ed4e3bb75e55bacd41994.tar.gz
bcm5719-llvm-551acdbf937a50fbcd4ed4e3bb75e55bacd41994.zip
Make it possible to run MIRCanonicalizer in pipeline.
https://reviews.llvm.org/D70321
-rw-r--r--llvm/include/llvm/CodeGen/Passes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h
index 5915cb3b2c7..c21414760ce 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;
OpenPOWER on IntegriCloud