diff options
author | Matthew Simpson <mssimpso@codeaurora.org> | 2016-04-27 16:25:04 +0000 |
---|---|---|
committer | Matthew Simpson <mssimpso@codeaurora.org> | 2016-04-27 16:25:04 +0000 |
commit | 47bd3994b79938bfc340ed80148a5ddf6337552c (patch) | |
tree | 6343d7ee186a67a7e81a0222140a1abfd7e11b6b /llvm/lib | |
parent | 3896f8f83d236c543945b0bcee0d341dbfb6c2ab (diff) | |
download | bcm5719-llvm-47bd3994b79938bfc340ed80148a5ddf6337552c.tar.gz bcm5719-llvm-47bd3994b79938bfc340ed80148a5ddf6337552c.zip |
Add parentheses to silence buildbot warning
llvm-svn: 267734
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp index 8e832ffb6a3..1684d2f769d 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp @@ -296,8 +296,8 @@ int AArch64TTIImpl::getExtractWithExtendCost(unsigned Opcode, Type *Dst, unsigned Index) { // Make sure we were given a valid extend opcode. - assert(Opcode == Instruction::SExt || - Opcode == Instruction::ZExt && "Invalid opcode"); + assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) && + "Invalid opcode"); // We are extending an element we extract from a vector, so the source type // of the extend is the element type of the vector. |