Similar to D81116 (AArch64): separate the GISel components for
organization purposes and match other targets.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/CMakeLists.txt | ||
---|---|---|
87–90 | Move them to the top to keep alphabetical order. |
Since only AArch64 + RiscV currently use a subdir - why not just move them up instead?
I am confused. {AArch64,M68k,PowerPC,RISCV}/GISel are present. This patch creates X86/GISel/. What do you suggest?
llvm/lib/Target/X86/CMakeLists.txt | ||
---|---|---|
87–90 | My reasoning is that placing files before directories is also an order, but I can move GISel if you are strong about it... |
I'm confused too :) If the plan is to eventually just have GISel why have them in a subdir?
This X86/GISel directory makes it clear what files are GlobalISel related. X86/ contains other files (Subtarget,TargetMachine,X86-specific codegen optimizations,etc) and some SelectionDAG related files.
If eventually we can get rid of SelectionDAG (not sure how feasible it is, but looks like a project of 10+ years), we would still have some X86/ files.
This X86/GISel directory would still be useful to separate GlobalISel related files.
Move them to the top to keep alphabetical order.