Permalink
Browse files

Extend the verifier to include a new opcode, IL_LDA.

  • Loading branch information...
tskeith committed Jan 9, 2018
1 parent c472583 commit 953ab56f160bf6193eabf959c070ade4dc568f55
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/flang2/flang2exe/verify.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -167,7 +167,7 @@ is_known_bug(ILI_OP opc, int j, ILI_OP j_opc)
return true;
if ((opc == IL_KMUL || opc == IL_IADD || opc == IL_IKMV) && j_opc == IL_ACCLDSYM)
return true;
if ((opc == IL_ACMPZ || opc == IL_ACJMPZ) && o == ILIO_ARLNK && r == ILIA_KR && j == 1)
if ((opc == IL_ACMPZ || opc == IL_ACJMPZ || opc == IL_LDA) && o == ILIO_ARLNK && r == ILIA_KR && j == 1)
return true;
if (opc == IL_IMUL && o == ILIO_IRLNK && r == ILIA_KR && j == 1)
return true;

0 comments on commit 953ab56

Please sign in to comment.