This also enables some constant folding from KnownBits propagation. This helps on some cases vXi64 case in 32-bit mode where constant vectors appear as vXi32 and a bitcast. This can prevent getNode from constant folding sra/shl/srl.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 24522 Build 24521: arc lint + arc unit
Event Timeline
Comment Actions
LGTM
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
31857–31859 | This could use a comment like the generic SRA: // If any of the demanded bits are produced by the sign extension, we also // demand the input sign bit. |
This could use a comment like the generic SRA: