[all-commits] [llvm/llvm-project] 1f1396: [mlir][pdl] Cast the OperationPosition to Position...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Mar 16 16:19:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f13963ec14a5c664633f78856e70de1d40258cd
      https://github.com/llvm/llvm-project/commit/1f13963ec14a5c664633f78856e70de1d40258cd
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp

  Log Message:
  -----------
  [mlir][pdl] Cast the OperationPosition to Position to fix MSVC miscompile

If we don't cast, MSVC picks an overload that hasn't been defined yet(not sure why) and miscompiles.




More information about the All-commits mailing list