InstCombine: Split aggregate tests for SimplifyDemandedFPClass to new fie (#176702)
This is a workaround; currently alive2 silently errors when trying to
verify transforms on some of these cases.
[X86][WinEH] Insert nop after unwinding inline assembly (#176393)
As discussed on https://github.com/llvm/llvm-project/pull/144745, insert
a nop after unwinding inline assembly, as it may end on a call.
While the change itself is trivial, I ended up having to do two
infrastructure changes:
* The unwind flag needs to be propagated to ExtraInfo of the
MachineInstr.
* The MachineInstr needs to be passed through to emitInlineAsmEnd(), and
the method needs to be non-const.
Fixes https://github.com/llvm/llvm-project/issues/157073.
[OpenCL] Set KHR extensions minimum version to OpenCL 1.0 (2nd try) (#176681)
Motivation is similar to 25cfdaa4e9dc. Their spec don't specify a
required OpenCL version. Targets may expose them before OpenCL 1.2. Set
KHR extensions (depth images, mipmaps, subgroups, kernel clock, dot
product, ext_float_atomics, extended_bit_ops, cles_khr_int64) to
availability 1.0.
Changes to opencl-c.h:
* Relax header and test guards to allow extension macros whenever any
OpenCL C version is defined.
* Relax cl_khr_depth_images guard to allow cl_khr_depth_images, OpenCL
C++, or OpenCL C 2.0+, since image2d_depth_t and image2d_array_depth_t
types require that coverage.
* Guard image1d_t, image1d_array_t and image2d_array_t types with OpenCL
C++ or OpenCL C 1.2+ to match with OpenCL C spec.
Relates to https://github.com/KhronosGroup/OpenCL-CTS/pull/2376.
Update: The first attempt was reverted in #175993, but the regression
described in #175993 should be fixed in ROCm/llvm-project's opencl-c.h.
See https://github.com/llvm/llvm-project/pull/175993#issuecomment-3762586432
[LoongArch] Convert ld to fld when result is only used by sitofp (#165523)
If the result of an integer load is only used by an integer-to-float
conversion, use a fp load instead. This eliminates an
integer-to-float-move (movgr2fr) instruction.
Fix typo in condition AArch64InstrInfo::copyPhysReg. (#173450)
Minor fix typo.
Main issue:
https://github.com/llvm/llvm-project/issues/169959
I did research and found file with tests but I couldn't figure out how
cover this change. if this needs to be added then please advise.
@tomershafir
17359 libc: retry_test() warn: was '== 3' instead of '='
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
InstCombine: Split aggregate tests for SimplifyDemandedFPClass to new fie
This is a workaround; currently alive2 silently errors when trying to
verify transforms on some of these cases.
[CodeGen][NPM] Update dominator tree and post dominator tree consistently (#173485)
These passes run "RenumberBlocks()" on Machine function which renders
the dominator tree analyses in the cache stale (though passes may not
change anything structurally). we need to update the block numbers in
the cached analyses if we are to return PreservedAnalysis::all(). This
is not an issue with legacy PM since none of these passes preserve
dominator tree analyses anyway.
p5-Padre-Plugin-Debugger: remove
removed from CPAN, removed from github, removed from author's homepage,
I think that's a clear sign.
No dependencies in pkgsrc.
17363 libc: monitor() variable dereferenced before check
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
[Kaleidoscope] Update tutorial ch2 to match example code document (#172392)
This change syncs the tutorial with the example code document for
chapter 2. This is necessary to lookup the top level expression with the
JIT in chapter 4.
Co-authored-by: Christyllin <DiskworldWizzard at Gmail.com>
[Kaleidoscope] Update tutorial ch4 to match example code document (#172395)
The assert line has been removed as it does not compile and is not
present in the code document. References to the assert in the tutorial
have also been removed.
ExprSymbol.getAddress().toPtr<double (*)()>(); has been changed to
ExprSymbol.toPtr<double (*)()>(); to match the code document's use of
newer API. Reference to the getAdress() function has also been removed.
Co-authored-by: Christyllin <DiskworldWizzard at Gmail.com>