[all-commits] [llvm/llvm-project] a3fabc: Revert "[InstCombine] when calling conventions are...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 12 13:57:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3fabc79ae9d7dd76545b2abc2a3bfb66c6d3175
      https://github.com/llvm/llvm-project/commit/a3fabc79ae9d7dd76545b2abc2a3bfb66c6d3175
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    R llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll

  Log Message:
  -----------
  Revert "[InstCombine] when calling conventions are compatible, don't convert the call to undef idiom"

This reverts commit f4d682d6ce6c5b3a41a0acf297507c82f5c21eef.

This caused a significant compile-time regression:
https://llvm-compile-time-tracker.com/compare.php?from=4b7bad9eaea2233521a94f6b096aaa88dc584e23&to=f4d682d6ce6c5b3a41a0acf297507c82f5c21eef&stat=instructions

Possibly this is due to overeager parsing of target triples.




More information about the All-commits mailing list