diff options
author | Juneyoung Lee <aqjune@gmail.com> | 2021-04-08 15:20:08 +0900 |
---|---|---|
committer | Juneyoung Lee <aqjune@gmail.com> | 2021-04-08 15:23:12 +0900 |
commit | 648544f998cd0811670a625f4f2964125cf833b3 (patch) | |
tree | c7cefd95eeae8d5815fcc3bb8092f603e51f025e /clang/lib/Basic/SourceManager.cpp | |
parent | 2a2720a2dec4ad4fdc7ae58939448e51824a12c4 (diff) | |
download | llvm-648544f998cd0811670a625f4f2964125cf833b3.zip llvm-648544f998cd0811670a625f4f2964125cf833b3.tar.gz llvm-648544f998cd0811670a625f4f2964125cf833b3.tar.bz2 |
[Constant] ConstantStruct/Array should not lower poison to undef
This is a (late) follow-up patch of 8871a4b4cab8a56fd6ff12fd024002c3c79128b3 and
c95f39891a282ebf36199c73b705d4a2c78a46ce to make ConstantStruct::get/ConstantArray::getImpl
correctly return PoisonValue if all elements are poison.
This was found while discussing about the elements of a vector-typed UndefValue (D99853)
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions