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

Anton Blanchard <an...@samba.org> changed:

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

--- Comment #4 from Anton Blanchard <an...@samba.org> ---
Thanks Eric, Nemanja. I think we still have an issue in PPCMaterializeInt:


target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"

; Function Attrs: nounwind
define internal i32 @foo() #0 {
  ret i32 32768
}


# llc -O1 testcase.ll
...
foo:
        li 3, 0
        ori 3, 3, 32768
        blr


# llc -O1 -fast-isel testcase.ll
...
foo:
        li 3, -32768
        blr

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to