[flang-commits] [flang] cd18a6a - [flang][nfc] Update comment in test

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Thu Mar 17 04:54:37 PDT 2022


Author: Andrzej Warzynski
Date: 2022-03-17T11:54:02Z
New Revision: cd18a6a5e2ba6cdd46d302d181a9251caee153f8

URL: https://github.com/llvm/llvm-project/commit/cd18a6a5e2ba6cdd46d302d181a9251caee153f8
DIFF: https://github.com/llvm/llvm-project/commit/cd18a6a5e2ba6cdd46d302d181a9251caee153f8.diff

LOG: [flang][nfc] Update comment in test

Added: 
    

Modified: 
    flang/test/Lower/Intrinsics/ichar.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/Intrinsics/ichar.f90 b/flang/test/Lower/Intrinsics/ichar.f90
index 5cf7fcdc3bae4..2597d47f9a8e2 100644
--- a/flang/test/Lower/Intrinsics/ichar.f90
+++ b/flang/test/Lower/Intrinsics/ichar.f90
@@ -25,7 +25,7 @@ subroutine ichar_test(c)
   ! CHECK: fir.call @{{.*}}EndIoStatement
   print *, ichar(str(J))
 
-  ! "Magic" 88 below is the value returned by IACHAR (’X’)
+  ! "Magic" 88 below is the ASCII code for `X` and the value returned by IACHAR (’X’)
   ! CHECK: %[[c88:.*]] = arith.constant 88 : i32
   ! CHECK-NEXT: fir.call @{{.*}}OutputInteger32({{.*}}, %[[c88]])
   ! CHECK-NEXT: fir.call @{{.*}}EndIoStatement


        


More information about the flang-commits mailing list