summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2013-11-11 19:01:05 +0000
committerSylvestre Ledru <sylvestre@debian.org>2013-11-11 19:01:05 +0000
commit26386be1837ee7328827d6363071ce91d28d9010 (patch)
treed3a62a85239f1ad75253a141b2ea90dee244cbf1 /llvm/lib/CodeGen/RegAllocBasic.cpp
parentb89e172ab643281e6189ff1c55769ec028b27994 (diff)
downloadbcm5719-llvm-26386be1837ee7328827d6363071ce91d28d9010.tar.gz
bcm5719-llvm-26386be1837ee7328827d6363071ce91d28d9010.zip
Using an invalid -O falls back on -O3 instead of an error
Summary: Currently with clang: $ clang -O20 foo.c error: invalid value '20' in '-O20' With the patch: $ clang -O20 foo.c warning: invalid value '20' in '-O20'. Fall back on value '3' Reviewers: rengolin, hfinkel Reviewed By: rengolin CC: cfe-commits, hfinkel, rengolin Differential Revision: http://llvm-reviews.chandlerc.com/D2125 llvm-svn: 194403
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud