https://bugs.llvm.org/show_bug.cgi?id=42484
Bug ID: 42484
Summary: [InstCombine] commonShiftTransforms - ASSERT:
isa<X>(Val) && "cast<Ty>() argument of incompatible
type!"
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15587
Roman - could this be due to rL364791 ?
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename =
"llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll"
target triple = "x86_64-unknown-linux-gnu"
@X = external global i32
define i64 @test() {
%A = alloca i64
%L = load i64, i64* %A
%V = add i64 ptrtoint (i32* @X to i64), 0
%B2 = shl i64 %V, 0
%B4 = ashr i64 %B2, %L
%B = and i64 undef, %B4
ret i64 %B
}
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs