[all-commits] [llvm/llvm-project] 1b4401: Make switch-to-lookup-large-types.ll more reliable

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Jan 6 05:36:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b440155c11c373c00c872abf41c47a01946a234
      https://github.com/llvm/llvm-project/commit/1b440155c11c373c00c872abf41c47a01946a234
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll

  Log Message:
  -----------
  Make switch-to-lookup-large-types.ll more reliable

When larger integer types are natively supported simplifycfg will use an
inline constant instead of a global variable for this transform. I noticed
this while trying to automatically infer the datalayout from the target
triple in opt if it is not explicitly specified. Since the x86_64
datalayout includes "n8:16:32:64", this test started failing.

While touching this file also change i128 to i64 in the first test since
this was intended behaviour in the original commit.

Reviewed By: spatel, fhahn

Differential Revision: https://reviews.llvm.org/D141055


  Commit: 9b2276c004274bdb0c1abecac0dc5aa712ec0251
      https://github.com/llvm/llvm-project/commit/9b2276c004274bdb0c1abecac0dc5aa712ec0251
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [UpdateTestChecks] Do not add --force-update to UTC_ARGS

Persisting this flag only introduces test churn.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D141124


Compare: https://github.com/llvm/llvm-project/compare/4abc820c6671...9b2276c00427


More information about the All-commits mailing list