[PATCH] D104099: [NewPM] Remove SpeculateAroundPHIs pass from pipeline

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 11 10:16:03 PDT 2021


aeubanks added a comment.

Some backends don't run SimplifyCFG, e.g. X86. I believe the pass was originally created specifically for X86 (the header has some X86 examples) and may or may not extend to other targets (I'm not very familiar with the pass itself).

I'm not opposed to landing this and seeing who complains, but if somebody does, we can make this pass X86-specific by adding it to X86TargetMachine::registerPassBuilderCallbacks() (which doesn't exist yet).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104099



More information about the cfe-commits mailing list