Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: test/CodeGen/X86/invalid-gcc-snan-conversion.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/CodeGen/X86/frameaddr.ll ('k') | test/CodeGen/X86/lea-2.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; If LLVM is built in Release mode with a buggy gcc under x86-32, it
2 ; may transform 64-bit constants with a signaling NaN bit pattern into
3 ; a quiet NaN bit pattern. See
4 ; http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416
5
6 ; RUN: llc -march=x86-64 < %s | FileCheck %s
7
8 define i32 @main() #0 {
9 entry:
10 %retval = alloca i32, align 4
11 %tmp = alloca i64, align 8
12 store i32 0, i32* %retval
13 ; -4503599627370495 == 0xfff0000000000001
14 store i64 -4503599627370495, i64* %tmp, align 8
15 %0 = load i64* %tmp, align 8
16 call void @Consume(i64 %0)
17 ret i32 0
18 }
19
20 ; CHECK: main:
21 ; make sure 0xfff0000000000001 didn't change to 0xfff8000000000001
22 ; CHECK: 0xFFF00000
23 ; CHECK-NOT: 0xFFF80000
24
25 declare void @Consume(i64) #1
OLDNEW
« no previous file with comments | « test/CodeGen/X86/frameaddr.ll ('k') | test/CodeGen/X86/lea-2.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698