OSDN Git Service

[Typo fix] RNG: Take pass name as argument instead of pass pointer.
authorDominic Chen <d.c.ddcc@gmail.com>
Fri, 31 Jan 2020 19:34:49 +0000 (14:34 -0500)
committerDominic Chen <d.c.ddcc@gmail.com>
Fri, 31 Jan 2020 19:40:45 +0000 (14:40 -0500)
commit562a19e079d5317bfe7cd3c600ce2c3a66411fe1
tree7e934383f9f9526aa560ff1c3fac2af28553f565
parentc8fc76a99b308973b68766a81e68277b57ee1864
[Typo fix] RNG: Take pass name as argument instead of pass pointer.

Summary: With the new pass manager, it is not possible to obtain a pointer to the pass.

Reviewers: jfb, rinon, yln

Subscribers: hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73390
llvm/unittests/IR/ModuleTest.cpp