mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-02 18:43:14 +01:00
Bring back -disable-fp-elim.
It was moved to llvm/CodeGen/CommandLineFlags.h. GitHub: Fixes #502.
This commit is contained in:
@@ -325,6 +325,10 @@ cl::opt<FloatABI::Type> mFloatABI("float-abi",
|
||||
clEnumValN(FloatABI::Hard, "hard", "Hardware floating-point ABI and instructions"),
|
||||
clEnumValEnd));
|
||||
|
||||
cl::opt<bool> disableFpElim("disable-fp-elim",
|
||||
cl::desc("Disable frame pointer elimination optimization"),
|
||||
cl::init(false));
|
||||
|
||||
static cl::opt<bool, true, FlagParser> asserts("asserts",
|
||||
cl::desc("(*) Enable assertions"),
|
||||
cl::value_desc("bool"),
|
||||
|
||||
Reference in New Issue
Block a user