- Apr 20, 2020
-
-
Simon Pilgrim authored
-
Nikita Popov authored
As suggested on D76788, this switches the LVI implementation to return Optional<ValueLatticeElement> from various methods, instead of passing in a ValueLatticeElement reference and returning a boolean. Differential Revision: https://reviews.llvm.org/D78383
-
Florian Hahn authored
Remove some unnecessary includes, replace some with forward declarations. This also exposed a few places that were missing some includes.
-
Florian Hahn authored
Some includes are not required and forward declarations can be used instead. This also exposed a few places that were not directly including required files.
-
Florian Hahn authored
Most of the includes in LoopUtils.h are not required in the header and they can be replaced by forward declarations. Unfortunately includes of TargetTransformInfo.h and IVDescriptors.h pull in a bunch of additional things, but there is no easy way to get rid of them at the moment I think.
-
Mehdi Amini authored
-
Simon Pilgrim authored
Replace with forward declarations.
-
Mehdi Amini authored
Differential Revision: https://reviews.llvm.org/D78394
-
Mehdi Amini authored
-
Mehdi Amini authored
-
- Apr 19, 2020
-
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Fangrui Song authored
sched_getaffinity (Linux specific) has been available * in glibc since 2002-08-08 (commit 972e719e8154eec5f543b027e2a08dfa285d55d5) * in musl since the initial check-in.
-
Sanjay Patel authored
See discussion in D78430.
-
Sanjay Patel authored
gcc may warn here because X86ISD::NodeType is specified as "unsigned", but ISD::NodeType is a naked C enum (although passed as an "unsigned" throughout SDAG).
-
Florian Hahn authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
David Green authored
-
Simon Pilgrim authored
getFauxShuffle attempts to combine INSERT_VECTOR_ELT(TRUNCATE/EXTEND(EXTRACT_VECTOR_ELT(x))) patterns into a target shuffle chain. PR45604 identified an issue where the scalar was truncated to a size smaller than the destination vector element and then zero extended back, which requires the upper bits to be zero'd which we don't currently do. To avoid the bug I've added an early out in these truncation cases, a future commit should allow us to handle this by inserting the necessary SM_SentinelZero padding.
-
Sam McCall authored
Summary: Add a command to dexp that exports index data in chosen format (e.g. YAML). Reviewers: sammccall Subscribers: kbobyrev, mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D77385
-
Sanjay Patel authored
This is an enhancement to D77895 to avoid another round-trip from XMM->GPR->XMM. This time we handle the case of starting/ending with an f64 and casting to signed i32 as the intermediate value. It's a bit more involved than I initially assumed because we need to use target-specific opcodes to represent the non-standard cast ops. Differential Revision: https://reviews.llvm.org/D78362
-
Sam McCall authored
Reviewers: sammccall Reviewed By: sammccall Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D77938
-
Sanjay Patel authored
bitcast (shuf V, MaskC) --> shuf (bitcast V), MaskC' This is the widen shuffle elements enhancement to D76727. It builds on the analysis and simplifications in D77881 and rG6a7e958a. The phase ordering tests show that we can simplify inverse shuffles across a binop in both directions (widen/narrow or narrow/widen) now. There's another potential transform visible in some of the remaining TODOs - move a bitcasted operand of a shuffle after the shuffle. Differential Revision: https://reviews.llvm.org/D78371
-
Sanjay Patel authored
See PR45510: https://bugs.llvm.org/show_bug.cgi?id=45510 We had partial coverage for some of these patterns, so removing duplicate tests with the complete set in the new test file.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Replace SelectionDAG.h include with SelectionDAG forward declaration.
-
Simon Pilgrim authored
There were a number of cpp files explicitly relying on X86InstrFMA3Info.h to include the X86.h header - so I've had to add it locally.
-
Simon Pilgrim authored
Add SDDbgLabel/TargetLowering forward declarations. Add the full SelectionDAG.h include to InstrEmitter.cpp.
-
Simon Pilgrim authored
Reduce X86Subtarget.h/MCCodeEmitter.h/TargetMachine.h includes to forward declarations Add explicit X86Subtarget.h/TargetMachine.h includes to X86AsmPrinter.cpp/X86MCInstLower.cpp Remove unused MCSymbol forward declaration
-
Simon Pilgrim authored
We were only including MachineInstr.h for DebugLoc.h. This exposes an implicit include dependency in BTFDebug.h where I've had to add the MachineInstr.h include.
-
Simon Pilgrim authored
We already have to include the TargetLibraryInfo.h header.
-
Simon Pilgrim authored
-
Benjamin Kramer authored
No functionality change intended.
-
Simon Pilgrim authored
-
Florian Hahn authored
This makes it easier to extend the merge options in the future and also reduces the risk of accidentally setting a wrong option. Reviewers: efriedma, nikic, reames, davide Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D78368
-
Uday Bondhugula authored
Update misleading line in conclusions. Although the application to IR objects is stated earlier, the concluding section contradicts it in isolation. Differential Revision: https://reviews.llvm.org/D78446
-