[flang] Fix -Wstring-conversion in PPCIntrinsicCall.cpp (NFC)
authorJie Fu <jiefu@tencent.com>
Mon, 3 Jul 2023 06:14:48 +0000 (14:14 +0800)
committerJie Fu <jiefu@tencent.com>
Mon, 3 Jul 2023 06:14:48 +0000 (14:14 +0800)
commite4d6860d2de450f5e34f129d05cb0a67703cab73
tree89536189fa52206f36bc7c3dc48a3f8edf966b60
parente435129ba91cd381dc5af1d48581801dcec0d696
[flang] Fix -Wstring-conversion in PPCIntrinsicCall.cpp (NFC)

/Users/jiefu/llvm-project/flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp:617:14: error: implicit conversion turns string literal into bool: 'const char[39]' to 'bool' [-Werror,-Wstring-conversion]
      assert("Invalid vector operation for generator");
      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp