Displaying 3 results from an estimated 3 matches for "otherval".
Did you mean:
othervalue
2013 Jun 05
1
[LLVMdev] TableGen lookup table recipe?
...o another? Here's the template I was working on:
=========================================
class LookupTable {
list<int> mapping = [0, 8, 16, 24, 32];
}
def LUT : LookupTable;
class MyRegister<name, index> : Register<name> {
let HWEncoding = LUT.mapping[index];
int otherVal = index; // required as well, ie. 'unmapped'
}
foreach reg 0-32 in {
def R#reg : MyRegister<!subst("X", reg, "rX"), reg>;
}
==========================================
TableGen complains that index is not an integer or bitrange in
LUT.mapping[index].
Thanks,
J...
2015 Sep 18
2
GlobalOPT and sections
...l issue in lib/Transforms/IPO/GlobalOpt.cpp with several optimizations that create a copy of GlobalVariable without copying attributes from the original one.
Consider this one:
http://llvm.org/doxygen/GlobalOpt_8cpp_source.html
static bool TryToShrinkGlobalToBoolean(GlobalVariable *GV, Constant *OtherVal) {
...
// Create the new global, initializing it to false.
GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()),
false,
GlobalValue::InternalLinkage,...
2018 Jul 05
0
write.table with quote=TRUE fails on nested data.frames
...but don?t have access to Bugzilla:
Write.table (from core-package utils) doesn?t handle nested data.frames well, the quote arguments only marks top-level character (or-factor columns) for quoting, so this fails:
df <- data.frame(a='One;Two;Three',
b=I(data.frame(c="OtherVal",
d='Four;Five;Six',
e=4)),
f=5)
write.table(df, "~/Desktop/Tempfile.csv", quote = T, col.names = NA,
sep = ";", dec = ",", qmethod = "double")
The ?four;...