summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-08-13 17:44:10 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-08-13 17:44:10 +0000
commit1187e3f09b52f05025a86adda3e71ad7cb541441 (patch)
treebf5281ae8a3d587f7f49d0dd97bc9b4ad2e78202
parent078a5e26fdc2ba4123bdca349139fde083d3c08e (diff)
downloadbcm5719-llvm-1187e3f09b52f05025a86adda3e71ad7cb541441.tar.gz
bcm5719-llvm-1187e3f09b52f05025a86adda3e71ad7cb541441.zip
Improve comment to make explicit why not to touch this could before JIT goes MC
llvm-svn: 111021
-rw-r--r--llvm/lib/Target/X86/X86InstrSSE.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td
index 6cddc55eb44..1257651c6a3 100644
--- a/llvm/lib/Target/X86/X86InstrSSE.td
+++ b/llvm/lib/Target/X86/X86InstrSSE.td
@@ -2174,7 +2174,9 @@ def : Pat<(X86SFence), (SFENCE)>;
// Alias instructions that map zero vector to pxor / xorp* for sse.
// We set canFoldAsLoad because this can be converted to a constant-pool
// load of an all-zeros value if folding it would be beneficial.
-// FIXME: Change encoding to pseudo!
+// FIXME: Change encoding to pseudo! This is blocked right now by the x86
+// JIT implementatioan, it does not expand the instructions below like
+// X86MCInstLower does.
let isReMaterializable = 1, isAsCheapAsAMove = 1, canFoldAsLoad = 1,
isCodeGenOnly = 1 in {
def V_SET0PS : PSI<0x57, MRMInitReg, (outs VR128:$dst), (ins), "",
@@ -2188,6 +2190,9 @@ def V_SET0PI : PDI<0xEF, MRMInitReg, (outs VR128:$dst), (ins), "",
// The same as done above but for AVX. The 128-bit versions are the
// same, but re-encoded. The 256-bit does not support PI version.
+// FIXME: Change encoding to pseudo! This is blocked right now by the x86
+// JIT implementatioan, it does not expand the instructions below like
+// X86MCInstLower does.
let isReMaterializable = 1, isAsCheapAsAMove = 1, canFoldAsLoad = 1,
isCodeGenOnly = 1, Predicates = [HasAVX] in {
def AVX_SET0PS : PSI<0x57, MRMInitReg, (outs VR128:$dst), (ins), "",
OpenPOWER on IntegriCloud