Details
Diff Detail
Event Timeline
I'm happy with making this pass properly public, but I'm not sure what you're gaining from splitting off X86MemOpKey.h - are you intending to reuse that code someplace else?
In which case I'd recommend splitting the X86MemOpKey.h change into a separate followup patch and making this patch just about making the pass public.
Not sure we should consider this NFC any more
@craig.topper Any comments?
llvm/lib/Target/X86/X86.h | ||
---|---|---|
146 | Naming convention: initializeX86OptimizeLEAPassPass |
Address those two comments and I'm happy.
llvm/lib/Target/X86/X86.h | ||
---|---|---|
146 | Alphabetize also. |
llvm/lib/Target/X86/X86TargetMachine.cpp | ||
---|---|---|
84 | There's no need to reorder this - @craig.topper 's comment was about sorting the definitions in X86.h |
llvm/lib/Target/X86/X86.h | ||
---|---|---|
146 | Still not alphabetized |
Naming convention: initializeX86OptimizeLEAPassPass