http://llvm.org/bugs/show_bug.cgi?id=20982
Bug ID: 20982
Summary: UBSan error in lib/Target/R600/AMDGPUISelLowering.cpp
(left shift of negative value)
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Blocks: 20815
Classification: Unclassified
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<int32_t> 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs