Commit 3902f9b6 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] PromoteMaskArithmetic - explicitly attempt to constant fold zext(c)...

[X86] PromoteMaskArithmetic - explicitly attempt to constant fold zext(c) instead of relying on getNode()

Don't rely on isBuildVectorOfConstantSDNodes/getNode to constant fold, this could also help in cases where the constant is behind a bitcast.

Noticed while investigating #80668
parent 713fe6df
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment