Commit
80f329bcd0281c11062879025761d0657167fe8b
by phosek[Profile] Include a few asserts in coverage mapping test
These should catch any accidental use of the compilation directory.
Differential Revision: https://reviews.llvm.org/D97402
|
 | llvm/unittests/ProfileData/CoverageMappingTest.cpp |
Commit
868d43fbd6571d11f91564969676bb0f1b19b455
by spatel[InstCombine] add helper for x/pow(); NFC
We at least want to add powi to this list, so split it off into a switch to reduce code duplication.
|
 | llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp |
Commit
a7cee55762c6564de9dfc90985fe5c14cad7f9ee
by spatel[InstCombine] fold fdiv with powi divisor (PR49147)
This extends b40fde062c for the especially non-standard powi pattern. We want to avoid being completely wrong on the negation-of-int-min corner case, so I'm adding an extra FMF check for 'ninf' assuming that gives us the flexibility to handle that possibility. https://llvm.org/PR49147
|
 | llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp |
 | llvm/test/Transforms/InstCombine/fdiv.ll |
Commit
ae7528a34e2771ba4f0741e4941f78810854103d
by phosekRevert "[Profile] Include a few asserts in coverage mapping test"
This reverts commit 80f329bcd0281c11062879025761d0657167fe8b.
|
 | llvm/unittests/ProfileData/CoverageMappingTest.cpp |
Commit
a921aaf789912d981cbb2036bdc91ad7289e1523
by ndesaulniers[MC][ARM] make Thumb function also if type attribute is set
Make sure to set the bottom bit of the symbol even when the type attribute of a label is set after the label.
GNU as sets the thumb state according to the thumb state of the label. If a .type directive is placed after the label, set the symbol's thumb state according to the thumb state of the .type directive. This matches GNU as in most cases.
From: Stefan Agner <stefan@agner.ch>
This fixes: https://bugs.llvm.org/show_bug.cgi?id=44860 https://github.com/ClangBuiltLinux/linux/issues/866
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D74927
|
 | llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp |
 | llvm/test/MC/ARM/thumb-function-address.s |
Commit
341889ee9e03e73b313263c516b3d1fd33d4c4ba
by rprichard[builtins] Define fmax and scalbn inline
Define inline versions of __compiler_rt_fmax* and __compiler_rt_scalbn* rather than depend on the versions in libm. As with __compiler_rt_logbn*, these functions are only defined for single, double, and quad precision (binary128).
Fixes PR32279 for targets using only these FP formats (e.g. Android on arm/arm64/x86/x86_64).
For single and double precision, on AArch64, use __builtin_fmax[f] instead of the new inline function, because the builtin expands to the AArch64 fmaxnm instruction.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D91841
|
 | compiler-rt/test/builtins/Unit/compiler_rt_fmax_test.c |
 | compiler-rt/lib/builtins/divtc3.c |
 | compiler-rt/lib/builtins/fp_lib.h |
 | compiler-rt/test/builtins/Unit/compiler_rt_fmaxf_test.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_fmaxl_test.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c |
 | compiler-rt/lib/builtins/divsc3.c |
 | compiler-rt/lib/builtins/int_math.h |
 | compiler-rt/lib/builtins/ppc/divtc3.c |
 | compiler-rt/lib/builtins/divdc3.c |
 | compiler-rt/lib/builtins/int_lib.h |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbnl_test.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c |
Commit
9f1b832331e350426f7f2f8cc30ab8ba991f5884
by markus.boeck02Reland "[Driver][Windows] Support per-target runtimes dir layout for profile instr generate"
This relands commit rG7f9d5d6e444c which was reverted in rGab5b00ada9e7
Differential Revision: https://reviews.llvm.org/D96638
|
 | clang/test/Driver/fsanitize.c |
 | clang/test/Driver/instrprof-ld.c |
 | clang/lib/Driver/ToolChain.cpp |
 | clang/test/Driver/sanitizer-ld.c |
 | clang/include/clang/Driver/ToolChain.h |
 | clang/lib/Driver/ToolChains/BareMetal.cpp |
 | clang/lib/Driver/ToolChains/BareMetal.h |
 | clang/test/Driver/cl-options.c |
Commit
680f836c2fa72166badd594a52b3f41b2ad074d2
by rprichardRevert "[builtins] Define fmax and scalbn inline"
This reverts commit 341889ee9e03e73b313263c516b3d1fd33d4c4ba.
The new unit tests fail on sanitizer-windows.
|
 | compiler-rt/lib/builtins/int_math.h |
 | compiler-rt/test/builtins/Unit/compiler_rt_fmax_test.c |
 | compiler-rt/lib/builtins/ppc/divtc3.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c |
 | compiler-rt/lib/builtins/divdc3.c |
 | compiler-rt/lib/builtins/divsc3.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_fmaxl_test.c |
 | compiler-rt/lib/builtins/divtc3.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_fmaxf_test.c |
 | compiler-rt/test/builtins/Unit/compiler_rt_scalbnl_test.c |
 | compiler-rt/lib/builtins/int_lib.h |
 | compiler-rt/lib/builtins/fp_lib.h |
Commit
a7d4826101aba8594bf5308c6a3e40c44608bca5
by Vedant Kumar[profile] Fix buffer overrun when parsing %c in filename string
Fix a buffer overrun that can occur when parsing '%c' at the end of a filename pattern string.
rdar://74571261
Reviewed By: kastiglione
Differential Revision: https://reviews.llvm.org/D97239
|
 | compiler-rt/lib/profile/InstrProfilingFile.c |
 | compiler-rt/test/profile/ContinuousSyncMode/get-filename.c |
Commit
c519460745ece21238b0ee6c0f9b921366701308
by silvaseanAllow !shape.size type operands in "shape.from_extents" op.
This expands the op to support error propagation and also makes it symmetric with "shape.get_extent" op.
Reviewed By: silvas
Differential Revision: https://reviews.llvm.org/D97261
|
 | mlir/test/Dialect/Shape/canonicalize.mlir |
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
Commit
47acdec1dd5d6d4c279727a97313c586c20e9c6f
by Yaxun.Liu[CUDA][HIP] Support accessing static device variable in host code for -fgpu-rdc
For -fgpu-rdc mode, static device vars in different TU's may have the same name. To support accessing file-scope static device variables in host code, we need to give them a distinct name and external linkage. This can be done by postfixing each static device variable with a distinct CUID (Compilation Unit ID) hash.
Since the static device variables have different name across compilation units, now we let them have external linkage so that they can be looked up by the runtime.
Reviewed by: Artem Belevich, and Jon Chesterfield
Differential Revision: https://reviews.llvm.org/D85223
|
 | clang/lib/AST/ASTContext.cpp |
 | clang/test/SemaCUDA/static-device-var.cu |
 | clang/lib/CodeGen/CodeGenModule.h |
 | clang/lib/CodeGen/CodeGenModule.cpp |
 | clang/lib/CodeGen/CGCUDANV.cpp |
 | clang/include/clang/AST/ASTContext.h |
 | clang/test/CodeGenCUDA/device-var-linkage.cu |
 | clang/test/CodeGenCUDA/static-device-var-rdc.cu |
 | clang/test/CodeGenCUDA/managed-var.cu |
Commit
9bde29629dfec420dbfbfe550073415452ae81f9
by craig.topper[RISCV] Use a ComplexPattern for zexti32 to match sexti32.
We just started using a ComplexPattern for sexti32. This updates zexti32 to match.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D97231
|
 | llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp |
 | llvm/lib/Target/RISCV/RISCVInstrInfoF.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfo.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoD.td |
 | llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h |