[llvm-commits] Intel Atom optimization - use LEA to adjust stack pointer

Anton Korobeynikov anton at korobeynikov.info
Mon Jan 16 14:25:32 PST 2012


Hi Andy,

> Do you mean that this optimization should be enabled by a separate subtarget feature?
> Since this optimization really only applies to the Atom, we added a blanket 'Atom'
> subtarget feature, and enable Atom-specific optimizations when the Atom subtarget
> feature is enabled.
Usually the features are named based on the "contents" of the feature.
E.g. the name of the instruction set, or what the feature actually
means.
For me naming as "atom" is definitely wrong idea. Consider, there will
be some other CPU which will require the same optimization?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list