mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 19:10:19 +00:00
[X86] Fix stale comment in folding tables.
llvm-svn: 334758
This commit is contained in:
parent
5608dfed6a
commit
bb91ae466c
@ -805,9 +805,9 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
||||
|
||||
// VBROADCASTS{SD}rr register instructions were an AVX2 addition while the
|
||||
// VBROADCASTS{SD}rm memory instructions were available from AVX1.
|
||||
// TB_NO_REVERSE prevents unfolding from introducing an illegal instruction
|
||||
// on AVX1 targets. The VPBROADCAST instructions are all AVX2 instructions
|
||||
// so they don't need an equivalent limitation.
|
||||
// TB_NO_REVERSE prevents unfolding because doing so would create a full
|
||||
// vector load while the broadcast load would have only been a single
|
||||
// element.
|
||||
{ X86::VBROADCASTSSrr, X86::VBROADCASTSSrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSSYrr, X86::VBROADCASTSSYrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSDYrr, X86::VBROADCASTSDYrm, TB_NO_REVERSE },
|
||||
|
Loading…
x
Reference in New Issue
Block a user