[all-commits] [llvm/llvm-project] 3a781b: Fix assertion in tryEmitAsConstant

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed Dec 2 16:15:32 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a781b912fc7b492a21fe52cc8ce6c9e5854a9ab
      https://github.com/llvm/llvm-project/commit/3a781b912fc7b492a21fe52cc8ce6c9e5854a9ab
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/test/CodeGenCUDA/lambda-reference-var.cu

  Log Message:
  -----------
  Fix assertion in tryEmitAsConstant

due to cd95338ee3022bffd658e52cd3eb9419b4c218ca

Need to check if result is LValue before getLValueBase.




More information about the All-commits mailing list