The following R600 test fails under UBSan bootstrap of LLVM:
LLVM :: CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
The problem is the left shift of negative value in llvm::SDValue constantFoldBFE in AMDGPUISelLowering.cpp (left shift of negative value is undefined behavior in C).
To reproduce: build LLVM with just-built Clang and -DLLVM_USE_SANITIZER=Undefined CMake option. I'm going to disable this specific test case under UBSan, so that suppression will have to be removed as well.
Extended Description
The following R600 test fails under UBSan bootstrap of LLVM:
The problem is the left shift of negative value in llvm::SDValue constantFoldBFE in AMDGPUISelLowering.cpp (left shift of negative value is undefined behavior in C).
To reproduce: build LLVM with just-built Clang and -DLLVM_USE_SANITIZER=Undefined CMake option. I'm going to disable this specific test case under UBSan, so that suppression will have to be removed as well.