[PATCH] D32769: [X86][LWP] Add llvm support for LWP instructions.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 03:35:26 PDT 2017


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/lwp-intrinsics-x86_64.ll:14
+; X64-NEXT:    retq
+  %1 = tail call i8 @llvm.x86.lwpins64(i64 %a0, i32 %a1, i32 81985529216486895)
+  ret i8 %1
----------------
filcab wrote:
> RKSimon wrote:
> > craig.topper wrote:
> > > That immediate seems way out of range of 32-bit value. Is that intentional?
> > Yes, I was trying to check that it truncated correctly. Should I comment it? Add it as a separate test?
> I'm not sure this is useful, does it even make it past the IR reader?
> Truncating a too large constant seems like it should be tested somewhere else.
OK, I'll strip them down. 


Repository:
  rL LLVM

https://reviews.llvm.org/D32769





More information about the llvm-commits mailing list