diff options
author | Jan Voung <jvoung@chromium.org> | 2012-10-31 11:56:33 -0700 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2012-10-31 11:56:33 -0700 |
commit | 150cdf98b83bdae9912e0985bba91495315f2ad1 (patch) | |
tree | fd6a6f04504f40ccb7f47b5ff392a14c2856c7c5 /lib/Target/ARM/ARMSubtarget.cpp | |
parent | 228957b28f4ebb833c7417aa1d773dc77721bb45 (diff) |
llvm: build with fewer warnings
Warnings: unused variables, unused functions, -Wreorder,
and remember to return a value in a non-void function.
Also remove setjmp/longjmp intrinsics for x86, which aren't
being used now (no equivalents in ARM and no equivalent for
x86-64 with the zero-based sandbox, etc.). This exposes a
few more unused functions.
BUG= none
TEST= test-all
Review URL: https://codereview.chromium.org/11345016
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.cpp b/lib/Target/ARM/ARMSubtarget.cpp index d2f0a28f78..fc67d418ea 100644 --- a/lib/Target/ARM/ARMSubtarget.cpp +++ b/lib/Target/ARM/ARMSubtarget.cpp @@ -39,7 +39,7 @@ static cl::opt<bool> NoInlineJumpTables("no-inline-jumptables", cl::desc("Do not place jump tables inline in the code")); // @LOCALMOD-END - + static cl::opt<bool> UseFusedMulOps("arm-use-mulops", cl::init(true), cl::Hidden); |