Skip to content
Commit c1803d53 authored by Changpeng Fang's avatar Changpeng Fang
Browse files

[FunctionAttrs] Unconditionally perform argument attribute inference in the...

[FunctionAttrs] Unconditionally perform argument attribute inference in the first function-attrs pass

Summary:
  Argument attributes like NoAlias and ReadOnly could affect memoryssa and thus earlyCSE in the function simplification pipeline.
https://reviews.llvm.org/D145210 adjusted PostOrderFunctionAttrs placement and caused the argument attributes not referred for the use
in the pipeline. This work (initiated by @nikic) unconditionally performs argument attribute inference in the first function-attrs pass.

Reviewers:
  aeubanks and nikic

Differential Revision:
  https://reviews.llvm.org/D156397
parent d7398a35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment