FailedChanges

Summary

  1. For P0732R2, P1907R1: ensure that template parameter objects don't refer (details)
  2. [MemProf] Temporarily disable part of test (details)
  3. Revert "[CostModel] remove cost-kind predicate for vector reduction costs" (details)
  4. [X86] Use TargetConstant for FPDiff with X86::TC_RETURN. (details)
  5. [c++20] For P0732R2: Support string literal operator templates. (details)
Commit 7b3515880c22c887cd5ca4825dfb060ad82d3ebc by richard
For P0732R2, P1907R1: ensure that template parameter objects don't refer
to disallowed objects or have non-constant destruction.
The file was modifiedclang/test/CXX/drs/dr1xx.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/include/clang/Basic/PartialDiagnostic.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/include/clang/Basic/LLVM.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p8-cxx20.cpp
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
Commit 13c62ce99aab2e0192e56767c46c5fab476a81c2 by tejohnson
[MemProf] Temporarily disable part of test

Disable the part of this test that started failing only on the
llvm-avr-linux bot after 5c20d7db9f2791367b9311130eb44afecb16829c.
Unfortunately, "XFAIL: avr" does not work. Still in the process of
trying to figure out how to debug.
The file was modifiedcompiler-rt/test/memprof/TestCases/log_path_test.cpp
Commit 1c8371692dfe8245bc6690ff1262dcced4649d21 by martin
Revert "[CostModel] remove cost-kind predicate for vector reduction costs"

This reverts commit 22d10b8ab44f703b72b8316a9b3b8adc623ca73f.

This broke compilation e.g. like this:
$ cat synth.c
*a;
float *b;
c() {
  for (;;) {
    float d = -*b * *a++;
    d -= *--b * *a++;
    d -= *--b * *a;
    d -= *--b * *a;
    e(d);
  }
}
$ clang -target x86_64-linux-gnu -c -O2 -ffast-math synth.c
clang: ../include/llvm/Support/Casting.h:104: static bool llvm::isa_impl
_cl<To, const From*>::doit(const From*) [with To = llvm::PointerType; Fr
om = llvm::Type]: Assertion `Val && "isa<> used on a null pointer"' fail
ed.
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-add.ll
Commit a222d832d531afca294bb43d80388b97d45a9aea by craig.topper
[X86] Use TargetConstant for FPDiff with X86::TC_RETURN.

It's required to be a constant and can never be in a register so
make it explicit.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit f81f09ba8950a199af88e5a622155fb9801b11b7 by richard
[c++20] For P0732R2: Support string literal operator templates.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/CXX/lex/lex.literal/lex.ext/p5.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp