Commit 61f69153 authored by Nemanja Ivanovic's avatar Nemanja Ivanovic
Browse files

[PowerPC] Sign extend comparison operand for signed atomic comparisons

As of 8dacca94, we sign extend the atomic loaded
operand for signed subword comparisons. However, the assumption that the other
operand is correctly sign extended doesn't always hold. This patch sign extends
the other operand if it needs to be sign extended.

This is a second fix for https://bugs.llvm.org/show_bug.cgi?id=30451

Differential revision: https://reviews.llvm.org/D94058
parent bc713f6a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment