summaryrefslogtreecommitdiff
path: root/src/arch/hsail/insts/mem.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/hsail/insts/mem.hh')
-rw-r--r--src/arch/hsail/insts/mem.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/hsail/insts/mem.hh b/src/arch/hsail/insts/mem.hh
index d3ce76dee..c3b3bd4f9 100644
--- a/src/arch/hsail/insts/mem.hh
+++ b/src/arch/hsail/insts/mem.hh
@@ -1239,7 +1239,7 @@ namespace HsailISA
{
int operands = 0;
for (int i = 0; i < NumSrcOperands; i++) {
- if (src[i].isVectorRegister() == true) {
+ if (src[i].isVectorRegister()) {
operands++;
}
}