FailedChanges

Summary

  1. Temporarily Revert "Reapply [LVI] Normalize pointer behavior" as it's (details)
  2. Temporarily disable test. (details)
  3. [Sema] Add MacroQualified case for FunctionTypeUnwrapper (details)
Commit 7a3ad48d6de0e79a92361252a815b894565b9a0f by echristo
Temporarily Revert "Reapply [LVI] Normalize pointer behavior" as it's
broken python 3.6.
Reverting to figure out if it's a problem in python or the compiler for
now.
This reverts commit 885a05f48a5d320946c89590b73a764e5884fe4f.
The file was modifiedllvm/test/Transforms/JumpThreading/combine-metadata.ll
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 92611da5bfc5d537e8ed69715f115a989c85769f by asbirlea
Temporarily disable test.
The file was modifiedllvm/test/Analysis/GlobalsModRef/intrinsic_addresstaken.ll
Commit e278c138a937a68f3e6c89df8eaeffa913f9b0f7 by leonardchan
[Sema] Add MacroQualified case for FunctionTypeUnwrapper
This is a fix for PR43315. An assertion error is hit for this minimal
example:
```
//clang -cc1 -triple x86_64-- -S tstVMStructRC-min.cpp int (a b)();  //
Assertion `Chunk.Kind == DeclaratorChunk::Function' failed.
```
This is because we do not cover the case in the FunctionTypeUnwrapper
where it receives a MacroQualifiedType. We have not run into this
earlier because this is a unique case where the __attribute__ contains
both __cdecl__ and
__regparm__ (in that order), and we are compiling for x86_64. Changing
the architecture or the order of __cdecl__ and __regparm__ does not
raise the assertion.
Differential Revision: https://reviews.llvm.org/D67992
The file was modifiedclang/test/Frontend/macro_defined_type.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp