[all-commits] [llvm/llvm-project] 607f19: [clang][Interp] Fix float->int casts overflowing (...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Dec 11 08:25:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 607f19cb947a25fe7ed131d983a90961f3c2541a
      https://github.com/llvm/llvm-project/commit/607f19cb947a25fe7ed131d983a90961f3c2541a
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/floats.cpp

  Log Message:
  -----------
  [clang][Interp] Fix float->int casts overflowing (#72658)

If S.noteUndefinedBehavior() returns true, we will continue evaluation
and need a value on the stack.




More information about the All-commits mailing list