[llvm-bugs] [Bug 27792] Very recent regression when optimizing i128

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 17 12:34:16 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27792

Yichao Yu <yyc1992 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Yichao Yu <yyc1992 at gmail.com> ---
Unfortunately I don't think the issue is completely fixed yet.

New reduced repro (this time a simple integer comparison)

```
office:~/projects/julia/tests/llvm
yuyichao% usr/bin/opt -O3 -S -o - a.ll
; ModuleID = 'a.ll'
source_filename = "a.ll"

; Function Attrs: norecurse nounwind readnone
define i1 @julia_f_49350(i128) #0 {
top:
  %1 = icmp ugt i128 %0, 18446744073709551616
  ret i1 %1
}

attributes #0 = { norecurse nounwind readnone }
office:~/projects/julia/tests/llvm
yuyichao% cat a.ll 
define i1 @julia_f_49350(i128) {
top:
  %1 = icmp ule i128 1, %0
  %2 = or i1 false, %1
  ret i1 %2
}
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160517/4825db16/attachment.html>


More information about the llvm-bugs mailing list