diff options
author | Farzon Lotfi <farzonlotfi@microsoft.com> | 2025-09-02 17:16:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 17:16:42 -0400 |
commit | 49fcfaa15aeeed147280e6e39d802ac712ed3d74 (patch) | |
tree | c46fc8c9b87fa0d38bfeb03b5fe416f3e6e5929c /llvm/test/tools/llvm-objdump | |
parent | 3ce0ea38c2328c373227f5f1237b8ed88f7ecf06 (diff) | |
download | llvm-49fcfaa15aeeed147280e6e39d802ac712ed3d74.zip llvm-49fcfaa15aeeed147280e6e39d802ac712ed3d74.tar.gz llvm-49fcfaa15aeeed147280e6e39d802ac712ed3d74.tar.bz2 |
[GVN] Turn off ScalarPRE for TokenLike Types (#156513)
fixes #154407
In HLSL the GVNPass was adding a phi node on
a target extention type.
https://hlsl.godbolt.org/z/sc14YenEe
This is something we cleaned up in a past PR
(https://github.com/llvm/llvm-project/pull/154620) by introducing
`isTokenLikeTy`. In the case of the GVN pass the target extention type
was still making its way through. This change makes it so if we see this
type we don't do PRE.
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions