[PATCH] D74453: [LegalizeTypes][RISCV] Correctly sign-extend comparison for ATOMIC_CMP_XCHG

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 09:47:06 PST 2020


jrtc27 added a comment.

In D74453#1872395 <https://reviews.llvm.org/D74453#1872395>, @lenary wrote:

> Is there a reason this hasn't caused code changes for i16 or i8?


There is no `lr.b`/`lr.h`, so they use the masked intrinsics, and hence everything is zero-extended already.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74453/new/

https://reviews.llvm.org/D74453





More information about the llvm-commits mailing list