mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
1e4933df39
An alternative (and probably better) fix would be that of making `Scale` an APInt, and there's a patch floating around to do this. As we're still discussing it, at least stop crashing in the meanwhile (added bonus, we now have a regression test for this situation). Fixes PR35843. Thanks to Eli for suggesting the fix and Simon for reporting and reducing the bug. llvm-svn: 322467
13 lines
319 B
LLVM
13 lines
319 B
LLVM
; RUN: opt %s -aa-eval -disable-output 2>&1 | FileCheck %s
|
|
|
|
; CHECK: 6 Total Alias Queries Performed
|
|
; CHECK-NEXT: 6 no alias responses
|
|
|
|
define void @patatino() {
|
|
BB:
|
|
%G22 = getelementptr i1*, i1** undef, i8 -1
|
|
%B1 = mul i66 undef, 9223372036854775808
|
|
%G45 = getelementptr i1**, i1*** undef, i66 %B1
|
|
ret void
|
|
}
|