On Mon, Dec 26, 2011 at 4:08 PM, Anton Korobeynikov <[email protected]> wrote: > Hi Evgeniy > >> Please review. >> + } else if (FPU == "vfp3-d16" || FPU == "vfpv3-d16") { >> + CmdArgs.push_back("-target-feature"); >> + CmdArgs.push_back("+vfp3"); >> + CmdArgs.push_back("-target-feature"); >> + CmdArgs.push_back("+d16"); >> + CmdArgs.push_back("-target-feature"); >> + CmdArgs.push_back("-neon"); > Can we instead of huge if / else chains encode the necessary FPU => > feature mapping via some table?
You mean a tblgen table? I doubt it will be any shorter than this. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
