- Jun 11, 2016
-
-
Mehdi Amini authored
llvm-svn: 272416
-
Nico Weber authored
llvm-svn: 272415
-
Mehdi Amini authored
Adds a MachineFunctionPass that scans the body to find calls, and update the register mask with the one saved by the RegUsageInfoCollector analysis in PhysicalRegisterUsageInfo. Patch by Vivek Pandya <vivekvpandya@gmail.com> Differential Revision: http://reviews.llvm.org/D21180 llvm-svn: 272414
-
Josh Gao authored
Summary: Android target triples can include a version number in the abi field (e.g. 'aarch64-linux-android21'), used for checking for availability. However, the driver was searching for toolchain binaries using the passed in triple as a prefix. Reviewers: srhines, danalbert, t.p.northover Subscribers: t.p.northover, aemerson, tberghammer, danalbert, srhines, cfe-commits Differential Revision: http://reviews.llvm.org/D21163 llvm-svn: 272413
-
David Majnemer authored
Microsoft headers, comdef.h and comutil.h, assume that this is an OK thing to do. Downgrade the hard error to a warning if we are in -fms-extensions mode. This fixes PR28080. llvm-svn: 272412
-
Sanjay Patel authored
llvm-svn: 272411
-
Chad Rosier authored
llvm-svn: 272410
-
Chad Rosier authored
llvm-svn: 272409
-
Saleem Abdulrasool authored
Split up the test cases into two inputs as per post-commit review comments from Renato. NFC. llvm-svn: 272408
-
Jim Ingham authored
taking the API lock. llvm-svn: 272407
-
Michael Kuperstein authored
The costs are somewhat hand-wavy, but should be much closer to the truth than what we get from BasicTTI. Differential Revision: http://reviews.llvm.org/D21156 llvm-svn: 272406
-
Xinliang David Li authored
Profile setting accross shared lib is broken on darwin (to be investigated). Move the test to Linux only for now llvm-svn: 272404
-
Mehdi Amini authored
Add an option to enable the analysis of MachineFunction register usage to extract the list of clobbered registers. When enabled, the CodeGen order is changed to be bottom up on the Call Graph. The analysis is split in two parts, RegUsageInfoCollector is the MachineFunction Pass that runs post-RA and collect the list of clobbered registers to produce a register mask. An immutable pass, RegisterUsageInfo, stores the RegMask produced by RegUsageInfoCollector, and keep them available. A future tranformation pass will use this information to update every call-sites after instruction selection. Patch by Vivek Pandya <vivekvpandya@gmail.com> Differential Revision: http://reviews.llvm.org/D20769 llvm-svn: 272403
-
Strahinja Petrovic authored
llvm-svn: 272402
-
Evandro Menezes authored
Patch by Laman Sole <laxman.g@partner.samsung.com>, Sebastian Pop <s.pop@samsung.com>, Aditya Kumar <aditya.k7@samsung.com> Differential Revision: http://reviews.llvm.org/D21103 llvm-svn: 272401
-
Evandro Menezes authored
Differential Revision: http://reviews.llvm.org/D21203 llvm-svn: 272400
-
- Jun 10, 2016
-
-
Krzysztof Parzyszek authored
llvm-svn: 272399
-
Sanjay Patel authored
llvm-svn: 272398
-
Sanjay Patel authored
Somehow, the codegen logic for these sequences has gone completely untested until now (note the 2 compare instructions generated per test). There's also an *Intel* AVX optimization opportunity exposed in these cases and the existing tests. Intel's (but not AMD's) AVX spec shows that extra FP predicates were added, so a single comparison should always be sufficient, and operand commutation should never be necessary. llvm-svn: 272397
-
Sanjay Patel authored
llvm-svn: 272396
-
Matthew Simpson authored
This reapplies commit r272385 with a fix. The build was failing when compiled with gcc, but not with clang. With the fix, we now get the data layout from the current TTI implementation, which will hopefully solve the issue. llvm-svn: 272395
-
Ben Craig authored
Rehashing the ExplodedNode table is very expensive. The hashing itself is expensive, and the general activity of iterating over the hash table is highly cache unfriendly. Instead, we guess at the eventual size by using the maximum number of steps allowed. This generally avoids a rehash. It is possible that we still need to rehash if the backlog of work that is added to the worklist significantly exceeds the number of work items that we process. Even if we do need to rehash in that scenario, this change is still a win, as we still have fewer rehashes that we would have prior to this change. For small work loads, this will increase the memory used. For large work loads, it will somewhat reduce the memory used. Speed is significantly increased. A large .C file took 3m53.812s to analyze prior to this change. Now it takes 3m38.976s, for a ~6% improvement. http://reviews.llvm.org/D20933 llvm-svn: 272394
-
Roman Shirokiy authored
llvm-svn: 272393
-
Simon Pilgrim authored
llvm-svn: 272392
-
Matthew Simpson authored
This reverts commit r272385. This commit broke the build. I'm temporarily reverting to investigate. llvm-svn: 272391
-
Simon Atanasyan authored
Just for consistency with other parts of the code. llvm-svn: 272390
-
Simon Atanasyan authored
llvm-svn: 272389
-
Simon Atanasyan authored
In isPreemptible routine we interested in R_MIPS_GPREL16 relocation only. This relocation fits 0xf. So the new mask 0xff is just to conform the ABI specification. llvm-svn: 272388
-
Eric Liu authored
Summary: give users an option to show N more headers in case there are too many candidates. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D21181 llvm-svn: 272387
-
Clement Courbet authored
Matches methods overridden by the given method. llvm-svn: 272386
-
Matthew Simpson authored
This patch refines the default cost for interleaved load groups having gaps. If a load group has gaps, the legalized instructions corresponding to the unused elements will be dead. Thus, we don't need to account for them in the cost model. Instead, we only need to account for the fraction of legalized loads that will actually be used. Differential Revision: http://reviews.llvm.org/D20873 llvm-svn: 272385
-
Sam Kolton authored
Summary: sext() modifier is supported in SDWA instructions only for integer operands. Spec is unclear should integer operands support abs and neg modifiers with sext - for now they are not supported. Renamed InputModsWithNoDefault to FloatInputMods. Added SextInputMods for operands that support sext() modifier. Added AMDGPUOperand::Modifier struct to handle register and immediate modifiers. Code cleaning in AMDGPUOperand class: organize method in groups (render-, predicate-methods...). Reviewers: vpykhtin, artem.tamazov, tstellarAMD Subscribers: arsenm, kzhuravl Differential Revision: http://reviews.llvm.org/D20968 llvm-svn: 272384
-
Simon Pilgrim authored
Memory operand is new for AVX512 (SSE/AVX2 didn't support it). Also dropped the 'mask' from the tests (VPSLLDQ/VPSRLDQ don't support masked operations). Regenerated VPALIGNR test now that the shuffle comments work llvm-svn: 272383
-
Sean Silva authored
llvm-svn: 272382
-
Miklos Vajna authored
It has RTTI disabled by default, so need to enable it explicitly. Reviewers: silvas Differential Revision: http://reviews.llvm.org/D21186 llvm-svn: 272381
-
Roger Ferrer Ibanez authored
llvm-svn: 272380
-
George Rimar authored
Initially we wanted to check that these two relocations are not present when linking DSO because of possible overflow in runtime. Patch moves them to writable segment in testcases to allow proper error check to trigger. Otherwise error message about using dynamic relocations against text segment was shown. Differential revision: http://reviews.llvm.org/D21184 llvm-svn: 272379
-
Clement Courbet authored
llvm-svn: 272378
-
George Rimar authored
It was reported in PR28020, that lld does not link code which gold do. But in fact that is expected behavior as we do not support DT_TEXTREL. This patch changes error message as it can report about relocations against text segments exclusively, other dynamic relocations errors can be handled separately. Differential revision: http://reviews.llvm.org/D21133 llvm-svn: 272377
-
Xinliang David Li authored
End-end test with no integrated assembly should be added at some point (not done now because some bots are not properly configured to support -no-integrated-as) llvm-svn: 272376
-