- Nov 26, 2012
-
-
Eli Bendersky authored
In preparation for the FileCheck functionality change which will allow using a variable later on the same line. No functionality change. llvm-svn: 168588
-
Benjamin Kramer authored
Simplify some repetitive code with it. No functionality change. llvm-svn: 168587
-
Dmitry Vyukov authored
llvm-svn: 168586
-
Kostya Serebryany authored
[asan] fix Android build by not calling GetPageSizeCached in a test (no need for the page size anyway) llvm-svn: 168585
-
Dmitry Vyukov authored
llvm-svn: 168584
-
Timur Iskhodzhanov authored
llvm-svn: 168583
-
Richard Smith authored
initialization, don't rebuild it. Remove a couple of hacks which were trying to work around this. Fix the special case for one-argument CXXConstructExprs to not apply if the one argument is a default argument. llvm-svn: 168582
-
Zhou Sheng authored
The bug can be triggered when we require LoopInfo analysis ahead of DominatorTree construction in a Module Pass. The cause is that the LoopInfo analysis itself also invokes DominatorTree construction, therefore, when PassManager schedules LoopInfo, it will add DominatorTree first. Then after that, when the PassManger turns to schedule DominatorTree invoked by the above ModulePass, it finds there is already a DominatorTree, so it delete the redundant one. However, somehow it still try to access that pass pointer after free as code pasted below, which results in segment fault. llvm-svn: 168581
-
Meador Inge authored
This patch migrates the toascii optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168580
-
Meador Inge authored
This patch migrates the isascii optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168579
-
Meador Inge authored
This patch migrates the isdigit optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168578
-
Joe Abbey authored
Adding CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG This is to handle the wackiness on a Mac host where cmake detects: CMAKE_CXX_COMPILER == "/usr/bin/c++" CMAKE_C_COMPILER == "/usr/bin/gcc" llvm-svn: 168577
-
Rafael Espindola authored
llvm-svn: 168576
-
Meador Inge authored
llvm-svn: 168575
-
Meador Inge authored
This patch migrates the *abs optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168574
-
- Nov 25, 2012
-
-
Meador Inge authored
This patch migrates the ffs* optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168571
-
Nadav Rotem authored
llvm-svn: 168570
-
Nadav Rotem authored
llvm-svn: 168569
-
Nadav Rotem authored
llvm-svn: 168568
-
Dmitry Vyukov authored
llvm-svn: 168567
-
Joe Abbey authored
- Widespread trailing space removal - A dash of OCD spacing to block align enums - joined a line that probably needed 80 cols a while back llvm-svn: 168566
-
Rafael Espindola authored
to support it. Original patch with the parsing and plumbing by the PaX team and Roman Divacky. I added the bits in MCDwarf.cpp and the test. llvm-svn: 168565
-
Rafael Espindola authored
llvm-svn: 168564
-
Rafael Espindola authored
regressed in r168519. llvm-svn: 168563
-
Alexey Samsonov authored
llvm-svn: 168562
-
Benjamin Kramer authored
No functionality change. llvm-svn: 168561
-
Nadav Rotem authored
llvm-svn: 168560
-
Nadav Rotem authored
llvm-svn: 168559
-
Nadav Rotem authored
llvm-svn: 168558
-
Craig Topper authored
llvm-svn: 168557
-
Rafael Espindola authored
llvm-svn: 168556
-
Craig Topper authored
llvm-svn: 168554
-
Craig Topper authored
Remove duplicate check of LimitFloatPrecision. It was already checked earlier before IsExp10 could be set to true. llvm-svn: 168553
-
Craig Topper authored
llvm-svn: 168551
-
NAKAMURA Takumi authored
It brought bunch of (possibly false) warnings. llvm/unittests/VMCore/PassManagerTest.cpp:60:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration] char ModuleNDNM::ID=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:86:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration] char ModuleNDM2::ID=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:106:21: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration] char ModuleDNM::ID=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:217:16: warning: variable 'initcount' is not needed and will not be emitted [-Wunneeded-internal-declaration] int LPass::initcount=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:218:16: warning: variable 'fincount' is not needed and will not be emitted [-Wunneeded-internal-declaration] int LPass::fincount=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:259:16: warning: variable 'inited' is not needed and will not be emitted [-Wunneeded-internal-declaration] int BPass::inited=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:260:16: warning: variable 'fin' is not needed and will not be emitted [-Wunneeded-internal-declaration] int BPass::fin=0; ^ llvm/unittests/VMCore/PassManagerTest.cpp:283:24: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration] char OnTheFlyTest::ID=0; ^ 8 warnings generated. llvm-svn: 168549
-
Craig Topper authored
Remove redundant calls to getCurDebugLoc in visitIntrinsicCall. It's already called at the start of the function and captured in a local variable. llvm-svn: 168548
-
- Nov 24, 2012
-
-
Craig Topper authored
llvm-svn: 168546
-
Benjamin Kramer authored
Necessary to give disassembler users (like darwin's otool) a possibility to dlopen libLTO and still initialize the required LLVM bits. This used to go through libMCDisassembler but that's a gross layering violation, the MC layer can't pull in functions from the targets. Adding a function to libLTO is a bit of a hack but not worse than exposing other disassembler bits from libLTO. Fixes PR14362. llvm-svn: 168545
-
Benjamin Kramer authored
llvm-svn: 168543
-
Benjamin Kramer authored
The implementations already diverged a bit, merge them back together. llvm-svn: 168542
-